Hello all, I'm having some problems with CAS. Logging in to CAS seem to be periodically slow, especially after it has cleaned the expired tickets, even if there weren't any tickets to remove. If I try to login 30 minutes later, I'm having no problem at all. This is how my log file looks like:
2009-09-07 07:27:12,425 DEBUG [org.quartz.core.JobRunShell] - <Calling execute on job DEFAULT.jobDetailTicketRegistryCleaner> 2009-09-07 07:27:12,426 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Starting cleaning of expired tickets from ticket registry at [Mon Sep 07 07:27:12 UTC 2009]> 2009-09-07 07:27:12,426 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <0 found to be removed. Removing now.> 2009-09-07 07:27:12,426 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Finished cleaning of expired tickets from ticket registry at [Mon Sep 07 07:27:12 UTC 2009]> 2009-09-07 08:38:03,547 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket [ST-26-u7vv70DNFffBDLbUHHfI-cas] for service [http://x.x.x/] for user [stijn.cuylle]> 2009-09-07 08:38:04,253 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'assertion' of type [org.jasig.cas.validation.ImmutableAssertionImpl] to request in view with name 'casServiceSuccessView'> 2009-09-07 08:38:04,254 DEBUG [org.springframework.web.servlet.view.JstlView] - <Forwarding to resource [/WEB-INF/view/jsp/protocol/2.0/casServiceValidationSuccess.jsp] in InternalResourceView 'casServiceSuccessView'> 2009-09-07 08:38:08,774 DEBUG [org.jasig.cas.authentication.principal.SamlService] - <Sending logout request for: http://x.x.x/> 2009-09-07 08:38:09,473 DEBUG [org.springframework.web.servlet.view.JstlView] - <Forwarding to resource [/WEB-INF/view/jsp/default/ui/casLogoutView.jsp] in InternalResourceView 'casLogoutView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'flowExecutionContext' of type [org.springframework.webflow.engine.impl.FlowExecutionImpl] to request in view with name 'casLoginView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'service' of type [org.jasig.cas.authentication.principal.SimpleWebApplicationServiceImpl] to request in view with name 'casLoginView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'commandName' of type [java.lang.String] to request in view with name 'casLoginView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'credentials' of type [org.jasig.cas.authentication.principal.UsernamePasswordCredentials] to request in view with name 'casLoginView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'currentFormObject' of type [org.jasig.cas.authentication.principal.UsernamePasswordCredentials] to request in view with name 'casLoginView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'flowExecutionKey' of type [java.lang.String] to request in view with name 'casLoginView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'warnCookieValue' of type [java.lang.Boolean] to request in view with name 'casLoginView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Removed model object 'ticketGrantingTicketId' from request in view with name 'casLoginView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'org.springframework.validation.BindException.currentFormObject' of type [org.springframework.validation.BindException] to request in view with name 'casLoginView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'org.springframework.validation.BindException.credentials' of type [org.springframework.validation.BindException] to request in view with name 'casLoginView'> 2009-09-07 08:38:11,278 DEBUG [org.springframework.web.servlet.view.JstlView] - <Forwarding to resource [/WEB-INF/view/jsp/default/ui/casLoginView.jsp] in InternalResourceView 'casLoginView'> So when your ticket is still valid, there is no problem. When I logout and try to login again, it seem that CAS does 'nothing'. I have also installed Probe and I see that the POST request is coming in, but the thread keeps on running while nothing happens. Does anyone have any ideas what the cause might be of this problem? Kind regards, Stijn Cuylle -- 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
