This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Session replication with Tomcat 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Session replication with Tomcat 6" Watch "Session replication with Tomcat 6" New topic

Session replication with Tomcat 6

Tupak Amaru

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:

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

I put the same code on 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

and on

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 it will also be uploaded to server
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Session replication with Tomcat 6
jQuery in Action, 3rd edition