Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: clustering

Alkesh Badshah

2003-10-10

Replies:

Thanks for the info. To answer your question, I'm using a hardware based loadbalancer.

I've removed the old javagroups jar and added the context element from http://cvs.apache.org/~fhanik/.

Looking at the Tomcat window, it seems as if it is storing the session info.
There are informational messages such as:
INFO: [InMemoryReplicationManager] writeObject() storing session ...
INFO: [InMemoryReplicationManager] storing attribute '...' with value '...'

Unfortunately, it still isn't doing what I want - if I switch ports, I get kicked back to the login screen.

I think I'm missing something really obvious, any ideas?

Alkesh


>remove the old javagroups jars, they are not valid unless you are running
>4.0.x.
>
>The new stuff is in http://cvs.apache.org/~fhanik/
>
>also, you will need a loadbalancer in order to not change the URL, because
>changing the URL (the port) will cause the browser to not send up the
>session cookie.
>
>the new implementation requires JDK 1.4
>Filip
>
>> -----Original Message-----
>> From: Alkesh Badshah [mailto:alkesh@(protected)]
>> Sent: Thursday, June 05, 2003 11:11 AM
>> To: tomcat-user@(protected)
>> Subject: clustering
>>
>>
>> I'm trying to run multiple instances of tomcat on a single
>> machine listening on different ports. Something to the effect of:
>>
>> http://localhost:8000
>> http://localhost:8001
>>
>> I've modified the server.xml file, placed the javagroups.jar and
>> tomcat-javagroups.jar in the server/lib directory, and implement
>> java.io.serializable.
>>
>> Unfortunately, its not working as I hoped. Once I have a logged
>> in session, I'm hoping to be able to simply switch port(8000 <->
>> 8001) and have it be seemless to the user. Any idea on what the
>> problem could be?
>>
>> AB
--
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.