[jboss-user] [Clustering/JBoss] - Session is being expired when one of the cluster is set down

praveenas do-not-reply at jboss.com
Wed Jul 23 11:02:30 EDT 2008


Hi, 

  I am once again back to the clustering issue. I am trying to cluster 2 jboss instances (jboss - 4.2.2.GA) over an apache(httpd 2.0.61) load balancer. When I one of the instance set down, then the other node is unable store the session, with the following stack trace. Please let me know where exactly the problem might be. I ve checked the options of load balancing. Please go through the stack trace recorded by the server.log




2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 25982928, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:199, tx=org.jboss.cache.transaction.DummyTransaction at 25982928)]
2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 25982928, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:199, tx=org.jboss.cache.transaction.DummyTransaction at 25982928)]
2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:199
2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:14,129 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session D1CA48C2BA26664FC38ACD4B43182D4A not found in distributed cache
2008-07-23 20:07:14,129 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node1 jvmRoute: node2
2008-07-23 20:07:14,129 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] handleJvmRoute(): We have detected a failover with different jvmRoute. old one: node1 new one: node2. Will reset the session id.
2008-07-23 20:07:14,129 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] resetSessionId(): changed catalina session to= [D1CA48C2BA26664FC38ACD4B43182D4A.node2] old one= [D1CA48C2BA26664FC38ACD4B43182D4A.node1]
2008-07-23 20:07:14,129 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Setting cookie with session id:D1CA48C2BA26664FC38ACD4B43182D4A.node2 & name:JSESSIONID
2008-07-23 20:07:14,158 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty ClusteredSession
2008-07-23 20:07:14,158 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-3,5,jboss]
2008-07-23 20:07:14,158 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 27894836, handlers=[]
2008-07-23 20:07:14,158 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 27894836, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:200, tx=org.jboss.cache.transaction.DummyTransaction at 27894836)]
2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 27894836, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:200, tx=org.jboss.cache.transaction.DummyTransaction at 27894836)]
2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:200
2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:14,159 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session 7838D198F34E9FF8BF4BE849986D3B18 not found in distributed cache
2008-07-23 20:07:14,159 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node2 jvmRoute: node2
2008-07-23 20:07:14,159 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty ClusteredSession
2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-2,5,jboss]
2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 5986541, handlers=[]
2008-07-23 20:07:14,160 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 5986541, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:201, tx=org.jboss.cache.transaction.DummyTransaction at 5986541)]
2008-07-23 20:07:14,160 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 5986541, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:201, tx=org.jboss.cache.transaction.DummyTransaction at 5986541)]
2008-07-23 20:07:14,160 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:14,160 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:201
2008-07-23 20:07:14,160 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:14,160 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session 7838D198F34E9FF8BF4BE849986D3B18 not found in distributed cache
2008-07-23 20:07:14,160 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node2 jvmRoute: node2
2008-07-23 20:07:14,217 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty ClusteredSession
2008-07-23 20:07:14,217 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-4,5,jboss]
2008-07-23 20:07:14,217 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 10352182, handlers=[]
2008-07-23 20:07:14,218 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 10352182, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:202, tx=org.jboss.cache.transaction.DummyTransaction at 10352182)]
2008-07-23 20:07:14,218 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 10352182, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:202, tx=org.jboss.cache.transaction.DummyTransaction at 10352182)]
2008-07-23 20:07:14,218 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:14,218 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:202
2008-07-23 20:07:14,218 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty ClusteredSession
2008-07-23 20:07:14,218 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:14,218 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session 7838D198F34E9FF8BF4BE849986D3B18 not found in distributed cache
2008-07-23 20:07:14,218 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-2,5,jboss]
2008-07-23 20:07:14,218 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-4,5,jboss]
2008-07-23 20:07:14,218 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 9409054, handlers=[]
2008-07-23 20:07:14,218 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 29490218, handlers=[]
2008-07-23 20:07:14,218 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 9409054, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:203, tx=org.jboss.cache.transaction.DummyTransaction at 9409054)]
2008-07-23 20:07:14,228 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 9409054, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:203, tx=org.jboss.cache.transaction.DummyTransaction at 9409054)]
2008-07-23 20:07:14,228 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:14,228 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:203
2008-07-23 20:07:14,228 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:14,228 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session 7838D198F34E9FF8BF4BE849986D3B18 not found in distributed cache
2008-07-23 20:07:14,228 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node1 jvmRoute: node2
2008-07-23 20:07:14,228 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] handleJvmRoute(): We have detected a failover with different jvmRoute. old one: node1 new one: node2. Will reset the session id.
2008-07-23 20:07:14,228 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] resetSessionId(): changed catalina session to= [D1CA48C2BA26664FC38ACD4B43182D4A.node2] old one= [D1CA48C2BA26664FC38ACD4B43182D4A.node1]
2008-07-23 20:07:14,228 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Setting cookie with session id:D1CA48C2BA26664FC38ACD4B43182D4A.node2 & name:JSESSIONID
2008-07-23 20:07:14,275 ERROR [org.jboss.web.tomcat.service.session.JBossCacheService] loadSession(): id: D1CA48C2BA26664FC38ACD4B43182D4A exception occurred during deserialization
java.lang.ClassNotFoundException: No ClassLoaders found for: nextapp.echo2.app.FillImage
        at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:265)
        at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:622)
        at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:109)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1593)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)
        at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1642)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1341)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1685)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1341)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
        at java.util.HashMap.readObject(HashMap.java:1048)
        at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:992)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
        at java.util.HashMap.readObject(HashMap.java:1048)
        at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:992)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
        at java.util.concurrent.ConcurrentHashMap.readObject(ConcurrentHashMap.java:1312)
        at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:992)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
        at org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.readExternal(SessionBasedClusteredSession.java:154)
        at org.jboss.web.tomcat.service.session.JBossCacheService.loadSession(JBossCacheService.java:278)
        at org.jboss.web.tomcat.service.session.JBossCacheManager.loadSession(JBossCacheManager.java:1010)
        at org.jboss.web.tomcat.service.session.JBossCacheManager.findSession(JBossCacheManager.java:796)
        at org.apache.catalina.connector.Request.doGetSession(Request.java:2283)
        at org.apache.catalina.connector.Request.getSession(Request.java:2075)
        at org.jboss.web.tomcat.service.session.JvmRouteValve.checkJvmRoute(JvmRouteValve.java:91)
        at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:81)
        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.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.ajp.AjpProcessor.process(AjpProcessor.java:437)
        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
        at java.lang.Thread.run(Thread.java:675)
2008-07-23 20:07:14,276 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 29490218, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:204, tx=org.jboss.cache.transaction.DummyTransaction at 29490218)]
2008-07-23 20:07:14,276 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 29490218, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:204, tx=org.jboss.cache.transaction.DummyTransaction at 29490218)]
2008-07-23 20:07:14,276 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:14,276 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:204
2008-07-23 20:07:14,276 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:14,276 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session D1CA48C2BA26664FC38ACD4B43182D4A not found in distributed cache
2008-07-23 20:07:14,276 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node2 jvmRoute: node2
2008-07-23 20:07:14,339 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty ClusteredSession
2008-07-23 20:07:14,339 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-6,5,jboss]
2008-07-23 20:07:14,339 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 11142399, handlers=[]
2008-07-23 20:07:14,339 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 11142399, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:205, tx=org.jboss.cache.transaction.DummyTransaction at 11142399)]
2008-07-23 20:07:14,339 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 11142399, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:205, tx=org.jboss.cache.transaction.DummyTransaction at 11142399)]
2008-07-23 20:07:14,339 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:14,339 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:205
2008-07-23 20:07:14,339 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:14,339 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session 7838D198F34E9FF8BF4BE849986D3B18 not found in distributed cache
2008-07-23 20:07:14,339 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node2 jvmRoute: node2
2008-07-23 20:07:14,803 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty ClusteredSession
2008-07-23 20:07:14,803 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-5,5,jboss]
2008-07-23 20:07:14,803 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 7238087, handlers=[]
2008-07-23 20:07:14,803 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 7238087, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:206, tx=org.jboss.cache.transaction.DummyTransaction at 7238087)]
2008-07-23 20:07:14,803 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 7238087, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:206, tx=org.jboss.cache.transaction.DummyTransaction at 7238087)]
2008-07-23 20:07:14,804 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:14,804 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:206
2008-07-23 20:07:14,804 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:14,804 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session 7838D198F34E9FF8BF4BE849986D3B18 not found in distributed cache
2008-07-23 20:07:14,804 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-5,5,jboss]
2008-07-23 20:07:14,804 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 15716467, handlers=[]
2008-07-23 20:07:14,806 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty ClusteredSession
2008-07-23 20:07:14,807 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-3,5,jboss]
2008-07-23 20:07:14,807 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 6178853, handlers=[]
2008-07-23 20:07:14,807 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 6178853, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:208, tx=org.jboss.cache.transaction.DummyTransaction at 6178853)]
2008-07-23 20:07:14,807 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 6178853, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:208, tx=org.jboss.cache.transaction.DummyTransaction at 6178853)]
2008-07-23 20:07:14,807 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:14,807 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:208
2008-07-23 20:07:14,807 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:14,807 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session 7838D198F34E9FF8BF4BE849986D3B18 not found in distributed cache
2008-07-23 20:07:14,807 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node1 jvmRoute: node2
2008-07-23 20:07:14,807 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] handleJvmRoute(): We have detected a failover with different jvmRoute. old one: node1 new one: node2. Will reset the session id.
2008-07-23 20:07:14,807 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] resetSessionId(): changed catalina session to= [D1CA48C2BA26664FC38ACD4B43182D4A.node2] old one= [D1CA48C2BA26664FC38ACD4B43182D4A.node1]
2008-07-23 20:07:14,807 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Setting cookie with session id:D1CA48C2BA26664FC38ACD4B43182D4A.node2 & name:JSESSIONID
2008-07-23 20:07:14,855 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Looking for sessions that have expired ...
2008-07-23 20:07:14,855 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Looking for sessions that have expired ...
2008-07-23 20:07:14,858 ERROR [org.jboss.web.tomcat.service.session.JBossCacheService] loadSession(): id: D1CA48C2BA26664FC38ACD4B43182D4A exception occurred during deserialization
java.lang.ClassNotFoundException: No ClassLoaders found for: nextapp.echo2.app.FillImage
        at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:265)
        at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:622)
        at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:109)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1593)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)
        at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1642)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1341)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1685)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1341)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
        at java.util.HashMap.readObject(HashMap.java:1048)
        at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:992)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
        at java.util.HashMap.readObject(HashMap.java:1048)
        at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:992)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
        at java.util.concurrent.ConcurrentHashMap.readObject(ConcurrentHashMap.java:1312)
        at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:992)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
        at org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.readExternal(SessionBasedClusteredSession.java:154)
        at org.jboss.web.tomcat.service.session.JBossCacheService.loadSession(JBossCacheService.java:278)
        at org.jboss.web.tomcat.service.session.JBossCacheManager.loadSession(JBossCacheManager.java:1010)
        at org.jboss.web.tomcat.service.session.JBossCacheManager.findSession(JBossCacheManager.java:796)
        at org.apache.catalina.connector.Request.doGetSession(Request.java:2283)
        at org.apache.catalina.connector.Request.getSession(Request.java:2075)
        at org.jboss.web.tomcat.service.session.JvmRouteValve.checkJvmRoute(JvmRouteValve.java:91)
        at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:81)
        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.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.ajp.AjpProcessor.process(AjpProcessor.java:437)
        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
        at java.lang.Thread.run(Thread.java:675)
2008-07-23 20:07:14,859 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 15716467, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:207, tx=org.jboss.cache.transaction.DummyTransaction at 15716467)]
2008-07-23 20:07:14,859 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 15716467, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:207, tx=org.jboss.cache.transaction.DummyTransaction at 15716467)]
2008-07-23 20:07:14,859 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:14,859 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:207
2008-07-23 20:07:14,859 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:14,859 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session D1CA48C2BA26664FC38ACD4B43182D4A not found in distributed cache
2008-07-23 20:07:14,859 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node2 jvmRoute: node2
2008-07-23 20:07:15,318 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty ClusteredSession
2008-07-23 20:07:15,318 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-7,5,jboss]
2008-07-23 20:07:15,319 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 1371136, handlers=[]
2008-07-23 20:07:15,319 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 1371136, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:210, tx=org.jboss.cache.transaction.DummyTransaction at 1371136)]
2008-07-23 20:07:15,319 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 1371136, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:210, tx=org.jboss.cache.transaction.DummyTransaction at 1371136)]
2008-07-23 20:07:15,319 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase.  One phase? true
2008-07-23 20:07:15,319 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:210
2008-07-23 20:07:15,319 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2008-07-23 20:07:15,319 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session 7838D198F34E9FF8BF4BE849986D3B18 not found in distributed cache
2008-07-23 20:07:15,319 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node2 jvmRoute: node2
2008-07-23 20:07:15,319 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] handleJvmRoute(): We have detected a failover with different jvmRoute. received one: node1 new one: node2. Will resent the session id.


Thank you very much in advance. 





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166184#4166184

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166184



More information about the jboss-user mailing list