• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Tomcat 7 Session replication does not work

 
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.


 
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.
 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic