Thanks guys! It was indeed the jvmRoute identifier. It really needs to be identical to the worker name as found in workers.properties.
Thanks again! Robert Chartier -----Original Message----- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:26 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Problem with Load Balancing using mod_jk and session affinity. It definitely works as I have it working too. What you have to do is also make sure you encodeURL all links and form actions. > -----Original Message----- > From: Eddie Bush [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 10:51 PM > To: Tomcat Users List > Subject: Re: Problem with Load Balancing using mod_jk and session > affinity. > > > I believe (and I could be wrong) that you need to specify the _worker > name_ for jvmRoute. ubeans.com/tomcat - they do it. He tested it and > claims he has it working fine. Check it out. > > Regards, > > Eddie > > Robert Chartier wrote: > > >Hi, > > > >I've successfully installed and configured apache and 2 tomcats > using mod_jk. > > > >Unfortunately the load balancing works without session affinity > between my 2 tomcat instances. I discovered the issue by calling > the following link: /examples/servlet/SessionExample. I keep > getting switch between my 2 tomcat instances. > > > >I know that my jvmRoute attribute is properly set as I see it > appended on the generated session id. Can some help me in > figuring out what I am missing. I know I am pretty close to have > a working setup! > > > >The only odd thing about my setup is that there is a firewall > between apache and tomact: > >OS on all machine: Linux > >WebServer: apache v1.3.26 > >Java: Sun v1.3.1_01 > >Tomcat: v4.0.2 > > > >The following is all my configuration files used in my current > setup and a portion of mod_jk.log related to my http requests. > > > >Thanks, I remain. > > > >Robert Chartier > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
