<2014-5-21 下午04时47分17秒 CST> <Error> <HTTP> <BEA-101017> <[ServletContext@26650284[app:_appsdir_frameworkWeb_dir module:frameworkWeb path:/frameworkWeb spec-version:null], request: Workmanager: default, Version: 1, Scheduled=true, Started=true, Started time: 11781 ms
[
GET /frameworkWeb/index?ticket=ST-85-X1eY9ohMWkhv0JNt5c7N-cas01.gdgs.org HTTP/1.1
Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: FrameworkWebSessoin=rcRQT8nVwLmyVyvyfV4x1bT4BGpRnZBl6l0PMQPxVmFLR7RdJy2P!-278163824
]] Root cause of ServletException.
javax.servlet.ServletException: CAS authentication error: INVALID_TICKET: 鏈兘澶熻瘑鍒嚭鐩爣 'ST-85-X1eY9ohMWkhv0JNt5c7N-cas01.gdgs.org'绁ㄦ牴
at edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:220)
at edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:184)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
Truncated. see log file for complete stacktrace
>
<2014-5-21 下午04时47分17秒 CST> <Error> <HTTP> <BEA-101083> <Connection failure.
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '1912' bytes instead of stated: '1882' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:457)
at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1448)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1530)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1498)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
Truncated. see log file for complete stacktrace
>
<2014-5-21 下午04时47分17秒 CST> <Error> <HTTP> <BEA-101104> <Servlet execution in servlet context "ServletContext@26650284[app:_appsdir_frameworkWeb_dir module:frameworkWeb path:/frameworkWeb spec-version:null]" failed, java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '1912' bytes instead of stated: '1882' bytes..
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '1912' bytes instead of stated: '1882' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:457)
at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1448)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1530)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1498)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
Truncated. see log file for complete stacktrace
>
修改ticketExpirationPolicies.xml c:timeToKill="${st.timeToKillInSeconds:90} 90时间设置长一点,默认是10秒,可能不够用
<bean id="serviceTicketExpirationPolicy" class="org.jasig.cas.ticket.support.MultiTimeUseOrTimeoutExpirationPolicy"
c:numberOfUses="1" c:timeToKill="${st.timeToKillInSeconds:90}" c:timeUnit-ref="SECONDS"/>