This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Session replication with Tomcat 6  RSS feed

 
Tupak Amaru
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!