session replication
ferozklmm Nov 6, 2004 6:01 AMHi,
I clustered our two servers as follows..
copied cluster-service.xml and jbossha-httpsession.sar from server/all/deploy directory to default/deploy directory
and copied jgroups.jar to lib directory
and found that on starting the server each one identifying other nodes and in jmx-console defaultpartition current view it is showing both server IP's.
In our applications web.xml I added tag.
But for session replication what i need to do b'cz in server log file it is showing like this and in our application it showing session expired message
please guide me for a solution..
------------from log file ----------
2004-11-05 23:58:48,214 DEBUG [org.jboss.ha.httpsession.server.ClusteredHTTPSessionService] getSessionId called: P6LeguKzlSZkH1d5f4xXVQ**
2004-11-05 23:58:48,214 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Replicating session with id P6LeguKzlSZkH1d5f4xXVQ**
2004-11-05 23:58:48,214 DEBUG [org.jboss.ha.httpsession.server.ClusteredHTTPSessionService] setHttpSession called for session: P6LeguKzlSZkH1d5f4xXVQ**
2004-11-05 23:58:48,215 DEBUG [org.jboss.ha.framework.server.HAPartitionImpl] dests=[192.168.1.116:33880 (additional data: 18 bytes)], method_call=DistributedState._set(CMPClusteredInMemoryPersistenceManager-ClusteredHTTPSession, P6LeguKzlSZkH1d5f4xXVQ**, [B@18806f7), mode=2, timeout=60000
2004-11-05 23:58:48,215 DEBUG [org.jboss.ha.framework.server.HAPartitionImpl] real_dests=[192.168.1.116:33880 (additional data: 18 bytes)]
2004-11-05 23:58:48,219 DEBUG [org.jboss.ha.framework.server.HAPartitionImpl] responses: [sender=192.168.1.116:33880 (additional data: 18 bytes), retval=null, received=true, suspected=false]
2004-11-05 23:58:48,220 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Session with id=P6LeguKzlSZkH1d5f4xXVQ** added
2004-11-05 23:58:48,226 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Looking for session with id=P6LeguKzlSZkH1d5f4xXVQ**
2004-11-05 23:58:48,226 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Found
2004-11-05 23:58:48,227 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Replicating session with id P6LeguKzlSZkH1d5f4xXVQ**
2004-11-05 23:58:48,227 DEBUG [org.jboss.ha.httpsession.server.ClusteredHTTPSessionService] setHttpSession called for session: P6LeguKzlSZkH1d5f4xXVQ**
2004-11-05 23:58:48,227 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] Are current session P6LeguKzlSZkH1d5f4xXVQ** attributes modified? : true
2004-11-05 23:58:48,228 DEBUG [org.jboss.ha.framework.server.HAPartitionImpl] dests=[192.168.1.116:33880 (additional data: 18 bytes)], method_call=DistributedState._set(CMPClusteredInMemoryPersistenceManager-ClusteredHTTPSession, P6LeguKzlSZkH1d5f4xXVQ**, [B@1264bf5), mode=2, timeout=60000
2004-11-05 23:58:48,228 DEBUG [org.jboss.ha.framework.server.HAPartitionImpl] real_dests=[192.168.1.116:33880 (additional data: 18 bytes)]
2004-11-05 23:58:48,232 DEBUG [org.jboss.ha.framework.server.HAPartitionImpl] responses: [sender=192.168.1.116:33880 (additional data: 18 bytes), retval=null, received=true, suspected=false]
2004-11-05 23:59:43,719 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Looking for sessions that have expired