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 [EMAIL PROTECTED],
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:10.20.220.135:33181:199,
[EMAIL PROTECTED])]
2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing afterCompletion for [EMAIL PROTECTED],
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:10.20.220.135:33181:199,
[EMAIL PROTECTED])]
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 [EMAIL PROTECTED], handlers=[]
2008-07-23 20:07:14,158 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing beforeCompletion for [EMAIL PROTECTED],
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:10.20.220.135:33181:200,
[EMAIL PROTECTED])]
2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing afterCompletion for [EMAIL PROTECTED],
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:10.20.220.135:33181:200,
[EMAIL PROTECTED])]
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 [EMAIL PROTECTED], handlers=[]
2008-07-23 20:07:14,160 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing beforeCompletion for [EMAIL PROTECTED],
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:10.20.220.135:33181:201,
[EMAIL PROTECTED])]
2008-07-23 20:07:14,160 DEBUG [org.jboss.cache.transaction.DummyTransaction]
processing afterCompletion for [EMAIL PROTECTED],
handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:10.20.220.135:33181:201,
[EMAIL PROTECTED])]