aspose file tools*
The moose likes Tomcat and the fly likes Tomcat 7 Session replication does not work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 7 Session replication does not work" Watch "Tomcat 7 Session replication does not work" New topic
Author

Tomcat 7 Session replication does not work

Ifteqar Ald
Ranch Hand

Joined: Dec 26, 2011
Posts: 73
Hello Experts,

I have two tomcat nodes running on a Linux Machine. Below is the configuration of server.xml from the two servers. Can anyone tell me what is wrong in my configuration?. I am seeing that session is not getting replication to second tomcat instance when first tomcat goes down. A new session ID is being generated on Second tomcat Node.

Node1 Server.xml Cluster configuration




Node2 server.xml Cluster configuration





Thanks in Advance.


Pankaja Shinde
Ranch Hand

Joined: Sep 15, 2006
Posts: 87
@Ifteqar Ald
Please make sure that your applications are distributable.
You can make applications distributable by adding <distributable /> tag in web.xml of application.
 
jQuery in Action, 2nd edition
 
subject: Tomcat 7 Session replication does not work