Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 7 Session replication does not work

 
Ifteqar Ald
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Ifteqar Ald
Please make sure that your applications are distributable.
You can make applications distributable by adding <distributable /> tag in web.xml of application.
 
Thao Pham
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have same problem: "Tomcat 7 Session replication does not work"

i added <distributable /> tag in web.xml but it still fail
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic