• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session Replication with URL rewriting

 
Ranch Hand
Posts: 227
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm trying to setup Tomcat clustering with Apache server for load balancing. The setup is done using Tomcat v4.1.3 on two RedHat Linux v9 boxes (two instances of 'worker' Tomcat servers) with Apache v2.0.49 running on MS Windows 2000. JDK used with Tomcat is J2SDK v1.4.2 (for Linux). For clustering support, 'tomcat-replication.jar' is used (available as http://www.apache.org/~fhanik/tomcat-replication.jar) and as connector JK v1.2 is used (available from http://jakarta.apache.org/site/binindex.cgi).
Configurations are done on both Tomcat instances as well as Apache and setup is up and going. However, when deploying an example web application, it was found that with URL rewriting, session data was getting lost (though session replication was shown in Tomcat logs). Removing URL rewriting solves the problem and environment & application work fine.
Problem is that we need to deploy an existing application on to this environment where URL rewriting is extensively used. Hence, removing the same everywhere is an avoidable option. Please suggest any way to use URL rewriting in a clustered environment (so that session data remain intact).
Thanks in advance,
- Aditya
[ March 25, 2004: Message edited by: Aditya N Jha ]
 
This tiny ad is wafer thin:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic