Tarik,
What version of CAS are you running? What version of log4j is it using? After doing some snooping, it appears that there was a bug in log4j-1.2.14 on Tomcat and EH Cache shutdown where they were doing things poorly/badly. A fix was made in the log4j-1.2.15 release that should address this problem. (http://www.nabble.com/DO-NOT-REPLY--Bug-40212---New%3A----NullPointerEx ception-in-getLogger-when-called-from-ShutdownHook-t2073202.html#a570824 2) Scott: This is just my cursory investigation as I cannot reproduce this issue personally. Are there any issues with updating to log4j-1.2.15? Hope this helps, Andrew R Feller, Analyst Subversion Administrator University Information Systems Louisiana State University [EMAIL PROTECTED] (office) 225.578.3737 ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tarik Arrad Sent: Tuesday, October 23, 2007 5:39 AM To: Yale CAS mailing list Subject: Re: The CAS Java Client on the website should be updated to 3.1.0 I'm trying to deploy CAS with LDAP (OpenLDAP), after authentication i have this log messages : 2007-10-23 10:19:25,770 INFO [org.jasig.cas.web.flow.InitialFlowSetupAction] - <Setting ContextPath for cookies to: /cas> 2007-10-23 10:19:30,920 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - <AuthenticationHandler: org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler failed to authenticate the user which provided the following credentials: Driss> Exception in thread "Store ticketCache Expiry Thread" java.lang.NullPointerException at org.apache.log4j.LogManager.getLogger(LogManager.java:188) at org.apache.log4j.Logger.getLogger(Logger.java :104) at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:2 83) at org.apache.commons.logging.impl.Log4JLogger.isDebugEnabled(Log4JLogger.j ava:293) at net.sf.ehcache.store.DiskStore.expiryThreadMain (DiskStore.java:834) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:59) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:1008) 2007-10-23 10:20:44,687 INFO [org.jasig.cas.web.flow.AuthenticationViaFormAction ] - <FormObjectClass not set. Using default class of org.jasig.cas.authentication.principal.UsernamePasswordCredentials with formObjectName credentials and validator org.jasig.cas.validation.UsernamePasswordCredentialsValidator .> 2007-10-23 10:20:47,878 INFO [org.jasig.cas.web.flow.InitialFlowSetupAction] - <Setting ContextPath for cookies to: /cas> 2007-10-23 10:20:53,176 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl ] - <AuthenticationHandler: org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler failed to authenticate the user which provided the following credentials: Tarik> 2007-10-23 10:20:59,737 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl ] - <AuthenticationHandler: org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler failed to authenticate the user which provided the following credentials: Manager> 2007-10-23 10:21:03,940 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner ] - <Starting cleaning of expired tickets from ticket registry at [Tue Oct 23 10:21:03 WET 2007]> 2007-10-23 10:21:03,940 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <0 found to be removed. Removing now.> 2007-10-23 10:21:03,940 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Finished cleaning of expired tickets from ticket registry at [Tue Oct 23 10:21:03 WET 2007]> 2007-10-23 10:23:45,405 INFO [ org.jasig.cas.authentication.AuthenticationManagerImpl] - <AuthenticationHandler: org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler failed to authenticate the user which provided the following credentials: Tarik> Exception in thread "Store ticketCache Expiry Thread" java.lang.NullPointerException at org.apache.log4j.LogManager.getLogger(LogManager.java:188) at org.apache.log4j.Logger.getLogger(Logger.java :104) at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:2 83) at org.apache.commons.logging.impl.Log4JLogger.isDebugEnabled(Log4JLogger.j ava:293) at net.sf.ehcache.store.DiskStore.expiryThreadMain (DiskStore.java:834) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:59) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:1008) 2007-10-23 10:23:59,140 INFO [org.jasig.cas.web.flow.AuthenticationViaFormAction ] - <FormObjectClass not set. Using default class of org.jasig.cas.authentication.principal.UsernamePasswordCredentials with formObjectName credentials and validator org.jasig.cas.validation.UsernamePasswordCredentialsValidator .> 2007-10-23 10:24:02,829 INFO [org.jasig.cas.web.flow.InitialFlowSetupAction] - <Setting ContextPath for cookies to: /cas> 2007-10-23 10:24:12,016 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl ] - <AuthenticationHandler: org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler failed to authenticate the user which provided the following credentials: Manager> 2007-10-23 10:24:17,246 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl ] - <AuthenticationHandler: org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler failed to authenticate the user which provided the following credentials: Tarik> 2007-10-23 10:24:18,374 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner ] - <Starting cleaning of expired tickets from ticket registry at [Tue Oct 23 10:24:18 WET 2007]> 2007-10-23 10:24:18,374 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <0 found to be removed. Removing now.> 2007-10-23 10:24:18,374 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Finished cleaning of expired tickets from ticket registry at [Tue Oct 23 10:24:18 WET 2007]> Help Plz Tarik Arrad
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
