Hide
The "LogFactory.getLog" crashes the static initialization of class CatalinaSSOUser, hiding the real cause of error without show any trace of real error.
As an workaround, remove commons-logging-1.0.4.jar and commons-logging-api-1.0.4.jar from jboss-4.2.3.GA/server/<instance>/lib, recover the full SSO availability, without any side-effect at this moment.
I believe that remove the commons-loggin from JBoss 4.2.3 JOSSO instalation or update the commons-logging version solve the problem.
.....
15:23:00,590 INFO [MemoryIdentityStore] Storing credentials for key : user2
15:23:00,590 INFO [MemoryIdentityStore] Storing credentials for key : tomcat
15:23:00,590 INFO [MemoryIdentityStore] Storing credentials for key : user3
15:23:00,590 INFO [MemoryIdentityStore] Loaded 5 credential sets from : josso-credentials.xml
15:23:00,609 INFO [AUDIT] Thu Jul 08 15:23:00 BRT 2010 - sso-session - info - user1 - createSession=success - ssoSessionId=9107E1B22C5B6AE9685F0B7E4AEE65AF
15:23:00,609 INFO [AUDIT] Thu Jul 08 15:23:00 BRT 2010 - sso-user - info - user1 - authenticationSuccess=success - authScheme=basic-authentication,ssoSessionId=9107E1B22C5B6AE9685F0B7E4AEE65AF
15:23:01,173 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
java.lang.NoClassDefFoundError: Could not initialize class org.josso.tc55.agent.jaas.CatalinaSSOUser
at org.josso.jb42.agent.JBossCatalinaRealm.hasRole(JBossCatalinaRealm.java:243)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.hasResourcePermission(JBossSecurityMgrRealm.java:243)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.josso.tc55.agent.SSOAgentValve.invoke(SSOAgentValve.java:688)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
Show
The "LogFactory.getLog" crashes the static initialization of class CatalinaSSOUser, hiding the real cause of error without show any trace of real error.
As an workaround, remove commons-logging-1.0.4.jar and commons-logging-api-1.0.4.jar from jboss-4.2.3.GA/server/<instance>/lib, recover the full SSO availability, without any side-effect at this moment.
I believe that remove the commons-loggin from JBoss 4.2.3 JOSSO instalation or update the commons-logging version solve the problem.
.....
15:23:00,590 INFO [MemoryIdentityStore] Storing credentials for key : user2
15:23:00,590 INFO [MemoryIdentityStore] Storing credentials for key : tomcat
15:23:00,590 INFO [MemoryIdentityStore] Storing credentials for key : user3
15:23:00,590 INFO [MemoryIdentityStore] Loaded 5 credential sets from : josso-credentials.xml
15:23:00,609 INFO [AUDIT] Thu Jul 08 15:23:00 BRT 2010 - sso-session - info - user1 - createSession=success - ssoSessionId=9107E1B22C5B6AE9685F0B7E4AEE65AF
15:23:00,609 INFO [AUDIT] Thu Jul 08 15:23:00 BRT 2010 - sso-user - info - user1 - authenticationSuccess=success - authScheme=basic-authentication,ssoSessionId=9107E1B22C5B6AE9685F0B7E4AEE65AF
15:23:01,173 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
java.lang.NoClassDefFoundError: Could not initialize class org.josso.tc55.agent.jaas.CatalinaSSOUser
at org.josso.jb42.agent.JBossCatalinaRealm.hasRole(JBossCatalinaRealm.java:243)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.hasResourcePermission(JBossSecurityMgrRealm.java:243)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.josso.tc55.agent.SSOAgentValve.invoke(SSOAgentValve.java:688)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)