Get your CodeRanch badge!*
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 Java 8 in Action this week in the Java 8 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 7 Session replication does not work
 
Similar Threads
Tomcat 6.0.X (could be 18, 26 or 32 tried all 3)
Tomcat session replication on failover in a cluster
Clustering Tomcat - one node refuses to join
Session replication with Tomcat 6
tomcat cross cluster communication problems