session load-balancing and clustering of tomcat

2005-03-01 Thread Sng Wee Jim
Hi, I am using tomcat 5.0.28. My question is how to setup sticky-session load-balancing and clustering of tomcat? Do I need to upgrade to tomcat 5.5.X? Note the requirement is on sticky-session. - Jim

Re: session load-balancing and clustering of tomcat

2005-03-01 Thread Lionel Farbos
-session load-balancing and clustering of tomcat? Do I need to upgrade to tomcat 5.5.X? Note the requirement is on sticky-session. - Jim The information in this email is confidential and is intended

RE: session load-balancing and clustering of tomcat

2005-03-01 Thread Marc Wiatrowski
My gotcha was setting the jvmRoute in EACH/EVERY Engine! -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 8:20 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: session load-balancing and clustering of tomcat 1

Re: session load-balancing and clustering of tomcat

2005-03-01 Thread Mladen Turk
Lionel Farbos wrote: 1) In server.xml : - uncomment the AJP 1.3 Connector (on port 8009), - set the jvmRoute in each Engine example : Engine name=Standalone defaultHost=host1 debug=0 jvmRoute=t1_ajp13 Session route *must* consists only of alphanumeric characters. See the:

Re: session load-balancing and clustering of tomcat

2005-03-01 Thread Lionel Farbos
On Tue, 01 Mar 2005 17:55:15 +0100 Mladen Turk [EMAIL PROTECTED] wrote: Lionel Farbos wrote: 2) then add the module mod_jk in apache with jk workers defined like this : worker.list=t1_ajp13,t2_ajp13,loadbalancer This is not quite correct, although it will work. You should set

RE: session load-balancing and clustering of tomcat

2005-03-01 Thread Sng Wee Jim
Subject: Re: session load-balancing and clustering of tomcat Lionel Farbos wrote: 1) In server.xml : - uncomment the AJP 1.3 Connector (on port 8009), - set the jvmRoute in each Engine example : Engine name=Standalone defaultHost=host1 debug=0 jvmRoute=t1_ajp13 Session route *must* consists

RE: session load-balancing and clustering of tomcat

2005-03-01 Thread Sng Wee Jim
and clustering of tomcat Hi, I am actually trying to get sticky session load-balancing with IIS tomcat (not apache webserver, client's requirement). My worker.properties: == worker.list=tomcat1,tomcat2 worker.tomcat1.type=ajp13 worker.tomcat1.host=localhost worker.tomcat1.port

Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
Hi all, Has anyone successfully configured Tomcat 5.5.4 with Apache and mod_jk to do load balancing and session replication? I did everything as documents suggested but with no luck. If so, could you advise? I have configured TWO tomcat instances and a lb worker. Whenever I map the lb worker

Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Mladen Turk
Gary Zhu wrote: Hi all, Has anyone successfully configured Tomcat 5.5.4 with Apache and mod_jk to do load balancing and session replication? I did everything as documents suggested but with no luck. If so, could you advise? Not if you don't send the workers.properties :). I have configured

RE: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk? Gary Zhu wrote: Hi all, Has anyone successfully configured Tomcat 5.5.4 with Apache and mod_jk to do load balancing and session replication? I did everything as documents suggested but with no luck. If so, could you advise

Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Mladen Turk
Gary Zhu wrote: Thanks Mladen, The document for Tomcat has explicitly emphasized NOT to add the lb worker to the worker.list. Can you point where this statement exists? If it does then I'll chage it, because it's wrong. Here is what documentation says: worker.list: A comma separated list of

RE: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
link: http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html Thanks. Gary -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: January 11, 2005 10:07 AM To: Tomcat Users List Subject: Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk? Gary Zhu

Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Mladen Turk
Gary Zhu wrote: In the document for workers.properties, there are TWO places emphasizing NOT to put the lb in the worker.list. One is right in the first paragraph of Sub Titled Load Balancing directives; and the other one is within the Description column for the directive balance(ed)_workers.

RE: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: January 11, 2005 10:31 AM To: Tomcat Users List Subject: Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk? Gary Zhu wrote: In the document for workers.properties, there are TWO places emphasizing NOT to put the lb

Example config file for clustering with Tomcat 5.5.4

2005-01-06 Thread Gary Zhu
Hi All, I am trying to set up several instances of Tomcat(5.5.4) and load balance them using JK connector. And I have read through all the docs on Tomcat loading balancing and clustering. Now I am having difficulty moving forward as I don't see any configuaration/setup examples anywhere. I did

Re: Clustering in Tomcat

2004-11-25 Thread Faisal Abdullah
with Tomcat Clustering. With the details provided on the website, I implemented it. The session (session-ID) is not lost when the machine serving it goes down however all session-data (attributes in session) is lost. What can be the issues? To start with, I had two Tomcat on the same

RE: Clustering in Tomcat

2004-11-25 Thread Dale, Matt
Have you got the distributable/ tag in your context's web.xml? Do all the objects in your session implement Serializable? -Original Message- From: Gaurav Vaish [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 04:07 To: Tomcat Users List Subject: Clustering in Tomcat Hi, I am

Re: Clustering in Tomcat

2004-11-25 Thread Gaurav Vaish
the objects in your session implement Serializable? -Original Message- From: Gaurav Vaish [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 04:07 To: Tomcat Users List Subject: Clustering in Tomcat Hi, I am facing an issue with Tomcat Clustering. With the details

Clustering in Tomcat

2004-11-24 Thread Gaurav Vaish
Hi, I am facing an issue with Tomcat Clustering. With the details provided on the website, I implemented it. The session (session-ID) is not lost when the machine serving it goes down however all session-data (attributes in session) is lost. What can be the issues? To start with, I

Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
Any info on the following would be appreciated, cannot see the exception being generated. I have the logging level set to debug. I am using a filter to wrap the session, but I the valve should never see this so I would not expect a ClassCastException. Is there any way to tell the logging in

Re: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Filip Hanik - Dev
, 2004 12:05 PM Subject: Clustering on Tomcat 5.0.26 with DeltaManager Any info on the following would be appreciated, cannot see the exception being generated. I have the logging level set to debug. I am using a filter to wrap the session, but I the valve should never see this so I would

RE: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
12:13 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Clustering on Tomcat 5.0.26 with DeltaManager you should also see a stack trace, please post that one to the list, that should give us all the info we need. Most likely is that one of your attributes are not serializable Filip

Re: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Filip Hanik - Dev
: Re: Clustering on Tomcat 5.0.26 with DeltaManager you should also see a stack trace, please post that one to the list, that should give us all the info we need. Most likely is that one of your attributes are not serializable Filip - Original Message - From: Matt Smith [EMAIL

RE: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 12:25 PM To: Tomcat Users List Subject: Re: Clustering on Tomcat 5.0.26 with DeltaManager duh, didn't read your message all the way through. look in the other log files, it should get logged somewhere. Filip

RE: clustering/replication tomcat 5

2004-03-26 Thread Filip Hanik \(lists\)
to adjust the tcpListenPort in server.xml Filip -Original Message- From: pablo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:05 AM To: [EMAIL PROTECTED] Subject: clustering/replication tomcat 5 Hi folks, I am looking for a step by step on how to do tomcat clustering

clustering/replication tomcat 5

2004-03-25 Thread pablo
Hi folks, I am looking for a step by step on how to do tomcat clustering/replication . I am unable to find anything decent on the web nor in my books (being that they are still tomcat 4 specific ). If anybody has a quick down and dirty on these procedures please let me know. -Pablo

Error in clustering in tomcat 5

2003-12-22 Thread daniel
configuration tomcat1 and tomcat 2 load balanced with mod_jk with apache in the tomcat server.xml file i have clustering enabled and i have the following for 10 different hosts. The web.xml file for each host has the distributable/ Cluster

Re: Error in clustering in tomcat 5

2003-12-22 Thread Filip Hanik
, December 22, 2003 10:51 AM Subject: Error in clustering in tomcat 5 configuration tomcat1 and tomcat 2 load balanced with mod_jk with apache in the tomcat server.xml file i have clustering enabled and i have the following for 10 different hosts. The web.xml file for each host has the distributable

Re: Error in clustering in tomcat 5

2003-12-22 Thread daniel
, December 22, 2003 2:00 PM Subject: Re: Error in clustering in tomcat 5 no, you are experiencing a bug, one of you sessions is invalidated, and when the system tries to copy it over, it fails. I will add in the check to not copy over invalid sessions. Filip - Original Message - From

Re: Error in clustering in tomcat 5

2003-12-22 Thread Filip Hanik
let me get a fix out this week, and we shall see if we get a difference :) Filip - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 22, 2003 11:25 AM Subject: Re: Error in clustering in tomcat 5 thanks for the quick reply Filip

Trouble with clustering ending tomcat process on 4.1.24

2003-07-14 Thread Lawrence, Gabriel
Howdy, I've noticed that sporadically my tomcat process dies with the following error in the Catalina.out. Anyone have any ideas on whats going on? Obviously an exception of somesort, but why the exception? Thanks, -gabe [InMemoryReplicationManager] storing attribute 'artifactbinding' with

problem with clustering using Tomcat 4.1

2003-06-30 Thread Das, Sanjeev
Hello Filip, I have been trying to use your session replication libs in tomcat 4.1 and have run into problems. I was wondering if you could help me out here. I am trying the replication with a simple jsp page on a one box setup with two instances of tomcat running. The jsp page simply prints

RE: problem with clustering using Tomcat 4.1

2003-06-30 Thread Angus Mezick
: Das, Sanjeev [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 5:11 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: problem with clustering using Tomcat 4.1 Hello Filip, I have been trying to use your session replication libs in tomcat 4.1 and have run into problems. I

RE: problem with clustering using Tomcat 4.1

2003-06-30 Thread Filip Hanik
with clustering using Tomcat 4.1 Hello Filip, I have been trying to use your session replication libs in tomcat 4.1 and have run into problems. I was wondering if you could help me out here. I am trying the replication with a simple jsp page on a one box setup with two instances

RE: problem with clustering using Tomcat 4.1

2003-06-30 Thread Shapira, Yoav
] Subject: problem with clustering using Tomcat 4.1 Hello Filip, I have been trying to use your session replication libs in tomcat 4.1 and have run into problems. I was wondering if you could help me out here. I am trying the replication with a simple jsp page on a one box setup with two instances

Reg. Clustering with Tomcat

2003-03-27 Thread K. Loganathan
Dear friends, Can any one tell me how to implement clustering technology with Tomcat. I asked help to tomcat-user list, i got some response, but i am struggled to execute that. Please if any one knows well, help me. Thanks and regards loganathan, Chennai

RE: Reg. Clustering with Tomcat

2003-03-27 Thread Filip Hanik
:04 PM To: [EMAIL PROTECTED] Subject: Reg. Clustering with Tomcat Dear friends, Can any one tell me how to implement clustering technology with Tomcat. I asked help to tomcat-user list, i got some response, but i am struggled to execute that. Please if any one knows well, help

Clustering with Tomcat

2003-02-22 Thread Rifai
Hi All, I recently read this article http://www.onjava.com/pub/a/onjava/2002/07/17/tomcluster.html On Clustering using javaspaces technology. They have provided a source code for this soluion in the 3rd page of the article. I need to know whether anyone who tried it and got all working I

Clustering with Tomcat

2002-08-16 Thread Alvaro Mota
Hi I am reading article, Clustering Technologies - In Memory Session Replication with Tomcat by Filip Hanik. I need source files http://www.filip.net/tomcat/tomcat-javagroups.jar and http://www.filip.net/tomcat/javagroups.jar, but not avaliable in site. http://www.filip.net. Do you could sent

Clustering with Tomcat

2002-07-28 Thread Luminous Heart
Here is a great article by Shyam Kumar posted on O'Reilly onJava.com website. http://www.onjava.com/pub/a/onjava/2002/07/17/tomcluster.html?page=1 The article comes with the needed code to implement clustering. I hope someone would pass it to the core development, this might move tomcat

How Session-Replication works when clustering Apache/Tomcat

2002-01-30 Thread lad
Hi everybody, to distribute the load of client requests of our web application and to guarantee reliability we have to do hardware load balancing and use two redundant web servers. For that we have to cluster Apache 1.3.23 with Tomcat 3.3a on our machines. The file (sketch.txt) shows a

AW: How Session-Replication works when clustering Apache/Tomcat

2002-01-30 Thread Ralph Einfeldt
- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 30. Januar 2002 15:49 An: [EMAIL PROTECTED] Betreff: How Session-Replication works when clustering Apache/Tomcat -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles

Re: How Session-Replication works when clustering Apache/Tomcat

2002-01-30 Thread Tom Drake
pounding the pavement looking for a paying gig, as resources are getting a bit thin around my place. Regards, Tom - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 6:48 AM Subject: How Session-Replication works when clustering Apache/Tomcat