You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alkesh Badshah <al...@email.com> on 2003/10/10 19:59:06 UTC

Re: clustering

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@email.com]
>> Sent: Thursday, June 05, 2003 11:11 AM
>> To: tomcat-user@jakarta.apache.org
>> 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@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: clustering

Posted by Filip Hanik <de...@hanik.com>.
shutdown tomcat
delete all your log files
startup tomcat
send me the fresh log files to my personal account, (incl, server.xml)

what could be happening is that you are not establishing membership
correctly

Filip
----- Original Message -----
From: "Alkesh Badshah" <al...@email.com>
To: <to...@jakarta.apache.org>
Sent: Friday, October 10, 2003 10:59 AM
Subject: Re: clustering


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@email.com]
>> Sent: Thursday, June 05, 2003 11:11 AM
>> To: tomcat-user@jakarta.apache.org
>> 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@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org