I have modified jboss-service.xml and server.xml, attribute name="UseJK" true /attribute Engine name="jboss.web" defaultHost="localhost" jvmRoute="server1"
and in the workers2.properties file, I have set worker.loadbalancer.sticky_session to "0": worker.loadbalancer.sticky_session=0 My jboss version is 4.0.2 and Apache version is 2.0.55 It seems the session isn't be replicated. The following is a part of the log file: ================================================ 2006-02-21 10:33:33,274 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to store and replicate session with id QVAvltSmaE86Y-E92RWGfA**.server1 2006-02-21 10:33:33,274 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): session is dirty. Will increment version from: 3 and replicate. 2006-02-21 10:33:36,118 WARN [org.jgroups.protocols.pbcast.NAKACK] [AlexWin:1282] discarded message from non-member localhost:32980 2006-02-21 10:33:38,011 WARN [org.jgroups.protocols.pbcast.NAKACK] [AlexWin:1277 (additional data: 17 bytes)] discarded message from non-member localhost:32977 (additional data: 14 bytes) 2006-02-21 10:33:45,201 WARN [org.jgroups.protocols.pbcast.NAKACK] [AlexWin:1277 (additional data: 17 bytes)] discarded message from non-member localhost:32977 (additional data: 14 bytes) 2006-02-21 10:36:46,362 DEBUG [javax.faces.webapp.FacesServlet] service begin 2006-02-21 10:36:46,362 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] initAfterLoad(): initialize the transient variables ... 2006-02-21 10:36:46,362 DEBUG [org.jboss.web.tomcat.tc5.session.SessionIDGenerator] getSessionId called: so8JjNrCYxo1MTECNjmhxA** 2006-02-21 10:36:46,362 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] createSession(): useJK is true. Will append JvmRoute: server1 2006-02-21 10:36:46,362 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to store and replicate session with id so8JjNrCYxo1MTECNjmhxA**.server1 2006-02-21 10:36:46,362 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): session is dirty. Will increment version from: 0 and replicate. 2006-02-21 10:36:46,372 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Session with id=so8JjNrCYxo1MTECNjmhxA**.server1 added. Current active sessions 2 2006-02-21 10:36:46,372 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Creating an ClusteredSession with id: so8JjNrCYxo1MTECNjmhxA**.server1 2006-02-21 10:36:46,372 DEBUG [javax.faces.webapp.FacesServlet] service end 2006-02-21 10:36:46,372 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to store and replicate session with id so8JjNrCYxo1MTECNjmhxA**.server1 2006-02-21 10:36:46,372 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): session is dirty. Will increment version from: 1 and replicate. 2006-02-21 10:36:49,086 DEBUG [javax.faces.webapp.FacesServlet] service begin 2006-02-21 10:36:49,086 DEBUG [javax.faces.webapp.FacesServlet] service end View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925189#3925189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925189 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
