Hi,

we are upgrading to CAS 3.5.2 and coming across an issue with services 
management. It seems like web session for SM is being killed by the 
TerminateWebSessionListener, which means follow on requests don't work, unless 
you click links within the 2 second TTL.

I see code in there to try and exempt the services management application, but 
the behaviour I'm seeing suggests this is not occurring. I have seen another 
report of this:

https://issues.jasig.org/browse/CAS-1243

My log trace looks like this:

2013-12-11 04:08:17,138 DEBUG * Extractor generated service for: 
https://new-login.trimblecorp.net/cas/services/j_acegi_cas_security_check * 
CasArgumentExtractor                     * ajp-bio-8009-exec-85 * 
org.jasig.cas.web.support.CasArgumentExtractor
2013-12-11 04:08:17,138 DEBUG * Placing service in FlowScope: 
https://new-login.trimblecorp.net/cas/services/j_acegi_cas_security_check * 
InitialFlowSetupAction                   * ajp-bio-8009-exec-85 * 
org.jasig.cas.web.flow.InitialFlowSetupAction
2013-12-11 04:08:17,139 DEBUG * Attempting to retrieve ticket 
[TGT-1-AfU6RJeRiEj9LkgacdALFJqoet7PzRqhI2KubL4wgC0f5zXTe0-cas] * 
DefaultTicketRegistry                    * ajp-bio-8009-exec-85 * 
org.jasig.cas.ticket.registry.DefaultTicketRegistry
2013-12-11 04:08:17,139 DEBUG * Ticket 
[TGT-1-AfU6RJeRiEj9LkgacdALFJqoet7PzRqhI2KubL4wgC0f5zXTe0-cas] found in 
registry.   * DefaultTicketRegistry                    * ajp-bio-8009-exec-85 * 
org.jasig.cas.ticket.registry.DefaultTicketRegistry
2013-12-11 04:08:17,140 DEBUG * Added ticket [ST-3-GY5Ca0Tji5njcfMBBcEs-cas] to 
registry.                                  * DefaultTicketRegistry              
      * ajp-bio-8009-exec-85 * 
org.jasig.cas.ticket.registry.DefaultTicketRegistry
2013-12-11 04:08:17,140 INFO  * Granted service ticket 
[ST-3-GY5Ca0Tji5njcfMBBcEs-cas] for service 
[https://new-login.trimblecorp.net/cas/services/j_acegi_cas_security_check] for 
user [REMOVED] * CentralAuthenticationServiceImpl         * 
ajp-bio-8009-exec-85 * org.jasig.cas.CentralAuthenticationServiceImpl
2013-12-11 04:08:17,140 DEBUG * Attempting to retrieve ticket 
[TGT-1-AfU6RJeRiEj9LkgacdALFJqoet7PzRqhI2KubL4wgC0f5zXTe0-cas] * 
DefaultTicketRegistry                    * ajp-bio-8009-exec-85 * 
org.jasig.cas.ticket.registry.DefaultTicketRegistry
2013-12-11 04:08:17,140 DEBUG * Ticket 
[TGT-1-AfU6RJeRiEj9LkgacdALFJqoet7PzRqhI2KubL4wgC0f5zXTe0-cas] found in 
registry.   * DefaultTicketRegistry                    * ajp-bio-8009-exec-85 * 
org.jasig.cas.ticket.registry.DefaultTicketRegistry
 * Slf4jLoggingAuditTrailManager            * ajp-bio-8009-exec-85 * 
com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager
2013-12-11 04:08:17,142 DEBUG * Terminate web session 
717C55E2FA248F082729E0D62AE4B5BF in 2 seconds                        * 
TerminateWebSessionListener              * ajp-bio-8009-exec-85 * 
org.jasig.cas.web.flow.TerminateWebSessionListener
2013-12-11 04:08:17,142 DEBUG * Error getting service from flow state.          
                                           * TerminateWebSessionListener        
      * ajp-bio-8009-exec-85 * 
org.jasig.cas.web.flow.TerminateWebSessionListener
java.lang.IllegalStateException: No active FlowSession to access; this 
FlowExecution has ended
        at 
org.springframework.webflow.engine.impl.FlowExecutionImpl.getActiveSession(FlowExecutionImpl.java:191)
        at 
org.springframework.webflow.engine.impl.RequestControlContextImpl.getFlowScope(RequestControlContextImpl.java:134)
        at 
org.jasig.cas.web.support.WebUtils.getService_aroundBody8(WebUtils.java:87)
        at 
org.jasig.cas.web.support.WebUtils.getService_aroundBody9$advice(WebUtils.java:57)
        at org.jasig.cas.web.support.WebUtils.getService(WebUtils.java:1)
        at 
org.jasig.cas.web.flow.TerminateWebSessionListener.sessionStarted_aroundBody0(TerminateWebSessionListener.java:62)
        at 
org.jasig.cas.web.flow.TerminateWebSessionListener.sessionStarted_aroundBody1$advice(TerminateWebSessionListener.java:57)
        at 
org.jasig.cas.web.flow.TerminateWebSessionListener.sessionStarted(TerminateWebSessionListener.java:1)
        at 
org.springframework.webflow.engine.impl.FlowExecutionListeners.fireSessionStarted(FlowExecutionListeners.java:126)
        at 
org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:367)
        at 
org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:222)
        at 
org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140)
        at 
org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:193)
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
        at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to