aspose file tools
The moose likes Tomcat and the fly likes Session replication with Tomcat 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Session replication with Tomcat 6" Watch "Session replication with Tomcat 6" New topic
Author

Session replication with Tomcat 6

Tupak Amaru
Greenhorn

Joined: Feb 07, 2011
Posts: 1
Hi . I am new to Tomcat and trying to implement session replication on 2 servers.
I have 2 servers:
10.0.1.3
10.0.1.4

According to Tomcat documentation I put into my server.xml the following code on 10.0.1.3:




I put the same code on 10.0.1.4 just with one change. The change is

It is clear to me that I need to provide the ip addresses of the servers somewhere in this code, but I tryed to put on 10.0.1.3


and on 10.0.1.4


and it didn't help.

Can please someone advice or provide and example how should it be defined on each server?

Also does session replication means that if I upload a file to server 10.0.1.3 it will also be uploaded to server 10.0.1.4?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Session replication with Tomcat 6
 
Similar Threads
Tomcat and apache configuration in debian
Tomcat 6.0.X (could be 18, 26 or 32 tried all 3)
Tomcat lbfactor weight not working
Tomcat session replication on failover in a cluster
tomcat cross cluster communication problems