3 Replies Latest reply on Sep 14, 2005 3:27 PM by Mark C. Allman

    NPE while trying to clean up SSO session

    Jim Hazen Expert

      Same setup. When sessions expire due to timeout after a failover there appears to be another problem.

      16:20:11,995 INFO [TreeCache] viewAccepted(): new members: [dev-app01:44336]
      16:20:12,649 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 2, delta: -1) : [10.10.14.82:1099]
      16:20:12,650 INFO [DefaultPartition] I am (10.10.14.82:1099) received membershipChanged event:
      16:20:12,651 INFO [DefaultPartition] Dead members: 1 ([10.10.14.61:1099])
      16:20:12,651 INFO [DefaultPartition] New Members : 0 ([])
      16:20:12,651 INFO [DefaultPartition] All Members : 1 ([10.10.14.82:1099])
      16:50:31,946 ERROR [TreeCacheSSOClusterManager] caught exception removing session 92IldRWUhnub31gfhRu2bw**.node2 from SSO id 6B93F0D3AE76395C3B36C3A220F68D79
      javax.transaction.NotSupportedException: Transaction already active, cannot nest transactions.
       at org.jboss.tm.TxManager.begin(TxManager.java:169)
       at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:110)
       at org.jboss.web.tomcat.tc5.sso.TreeCacheSSOClusterManager.removeSession(TreeCacheSSOClusterManager.java:509)
       at org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn.removeSession(ClusteredSingleSignOn.java:669)
       at org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn.sessionEvent(ClusteredSingleSignOn.java:303)
       at org.apache.catalina.session.StandardSession.fireSessionEvent(StandardSession.java:1547)
       at org.jboss.web.tomcat.tc5.session.ClusteredSession.expire(ClusteredSession.java:393)
       at org.jboss.web.tomcat.tc5.session.ClusteredSession.expire(ClusteredSession.java:327)
       at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:567)
       at org.jboss.web.tomcat.tc5.session.JBossCacheManager.processExpires(JBossCacheManager.java:552)
       at org.jboss.web.tomcat.tc5.session.JBossManager.backgroundProcess(JBossManager.java:644)
       at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)
       at java.lang.Thread.run(Thread.java:595)
      16:50:31,950 INFO [STDOUT] java.lang.NullPointerException
      16:50:31,951 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheManager.endTransaction(JBossCacheManager.java:503)
      16:50:31,951 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheManager.processExpires(JBossCacheManager.java:573)
      16:50:31,952 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossManager.backgroundProcess(JBossManager.java:644)
      16:50:31,952 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
      16:50:31,952 INFO [STDOUT] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
      16:50:31,952 INFO [STDOUT] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
      16:50:31,953 INFO [STDOUT] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
      16:50:31,953 INFO [STDOUT] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)
      16:50:31,953 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
      16:50:31,961 ERROR [JBossCacheManager] processExpires: failed with exception: org.jboss.util.NestedRuntimeException: TreeCacheAop.endTransaction(): ; - nested throwable: (java.lang.NullPointerException)
      16:50:31,962 INFO [STDOUT] org.jboss.util.NestedRuntimeException: TreeCacheAop.endTransaction(): ; - nested throwable: (java.lang.NullPointerException)
      16:50:31,962 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheManager.endTransaction(JBossCacheManager.java:512)
      16:50:31,963 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheManager.processExpires(JBossCacheManager.java:573)
      16:50:31,963 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossManager.backgroundProcess(JBossManager.java:644)
      16:50:31,963 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1283)
      16:50:31,964 INFO [STDOUT] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
      16:50:31,964 INFO [STDOUT] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
      16:50:31,964 INFO [STDOUT] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
      16:50:31,964 INFO [STDOUT] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)