Re: load balancing 2 tomcats on 1 machine question

2005-08-18 Thread Mladen Turk
Allistair Crossley wrote: Hi, I thought I had this sussed but it seems I haven't :( 2 tomcats, 1 machine, JK to balance with stick sessions. The following configuration works in that JK routes requests to both the tomcats and so on. Did you set the jvmRoute=tomcat1 inside server.xml Engine

RE: load balancing 2 tomcats on 1 machine question

2005-08-18 Thread Allistair Crossley
Hi Mladen, Damn, no, I didn't :) Thanks very much indeed, seems to have done the trick :) Cheers, Allistair. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 18 August 2005 17:17 To: Tomcat Users List Subject: Re: load balancing 2 tomcats on 1 machine question

RE: load balancing

2005-05-11 Thread Serlet Jean-Claude
Hello I don't know if this solution is more effictive than the other one (load balancing by using Apache server with different Tomcat instances) But the two one don't realise a random access : -cluster uses rules -apache uses a simple round-robin scheduling algorithm ; so after a disconnection

Re: Load Balancing ..

2005-04-28 Thread Peter Johnson
Not exactly. Apache itself can't do load balancing. You could use a dedicated Tomcat instance to loadbalance to backend Tomcats in the same way as you described using Apache however either way you are still left with a single point of failure. Neither Tomcat nor Apache can loadbalance by

RE: load-balancing

2005-03-10 Thread Sng Wee Jim
:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 9:46 PM To: Tomcat Users List Subject: Re: load-balancing Sng Wee Jim wrote: I am using IIS 5.0 on Win2k Server edition. Will jk 1.2.9 solve the issue for IIS too? IIS and Apache on Windows are single child systems so the runtime data was already

RE: load-balancing

2005-03-09 Thread Sng Wee Jim
I am using IIS 5.0 on Win2k Server edition. Will jk 1.2.9 solve the issue for IIS too? - Jim From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wed 3/9/2005 2:30 AM To: Tomcat Users List Subject: Re: load-balancing Sng Wee Jim wrote: I am load-balancing

Re: load-balancing

2005-03-09 Thread Mladen Turk
Sng Wee Jim wrote: I am using IIS 5.0 on Win2k Server edition. Will jk 1.2.9 solve the issue for IIS too? IIS and Apache on Windows are single child systems so the runtime data was already shared among all clients. I speak here about 1.2.8. Previous versions have lb code broken. You'll have to

Re: load-balancing

2005-03-08 Thread Mladen Turk
Sng Wee Jim wrote: I am load-balancing tomcat 5.0.28 using JK1.2/AJP1.3. Cool ;) I noticed the loadbalancer virtual JK worker redirect requests to the tomcat instances in a round-robin fashion, without taking into account which tomcat has a higher number of active sessions. You must note what jk

Re: Load balancing SSL sessions

2005-02-23 Thread Kelly Vista
may be getting directed to a server that is not available. Someone pls correct me if I'm wrong about that. From: Filip Hanik - Dev Lists [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Load balancing

Re: Load balancing SSL sessions

2005-02-23 Thread Kelly Vista
are definitely not supported. Again, pls correct me if I'm wrong. From: Filip Hanik - Dev Lists [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Load balancing SSL sessions Date: Tue, 22 Feb 2005 16:01:10 -0600

Re: Load balancing SSL sessions

2005-02-23 Thread andrew
Hi Kelly, To do a software solution you could use the following method. www.mysite.com - Both servers can answer this request, (for example round robin dns) or some form of hsrp (im sure there is a patch for linux to do this)... and based upon load and a simple script (perl, java, etc) they

RE: Load balancing SSL sessions

2005-02-23 Thread James Richardson
On Feb 22, 2005, at 10:24 PM, Kelly Vista wrote: Hi - We are looking to deploy our app, running on Tomcat 5, soon and are exploring load balancing options. We are looking at H/W and S/W solutions, and I was wondering if anyone had any past experience/advice they would like to

Re: Load balancing SSL sessions

2005-02-22 Thread Andrew Miehs
We use F5 BigIPs, but they are probably overkill for your application - The cisco probably will be as well. A 'Cheap' software solution might be to work with redirects, and 2 separate IP addresses. ie: ssl1.mysite.com and ssl2.mysite.com - You will need 2 ssl keys though for this to work.

Re: Load balancing SSL sessions

2005-02-22 Thread Filip Hanik - Dev Lists
you can also use DNS round robin, www.mysite.com resolves to two or more IP addresses. Filip Andrew Miehs wrote: We use F5 BigIPs, but they are probably overkill for your application - The cisco probably will be as well. A 'Cheap' software solution might be to work with redirects, and 2

Re: Load balancing SSL sessions

2005-02-22 Thread Andrew Miehs
Problem with round robin dns is that you can not guarantee that the web browser/ client will not make a second request to the dns server during the session - although very very unlikely. Andrew On Feb 22, 2005, at 11:01 PM, Filip Hanik - Dev Lists wrote: you can also use DNS round robin,

Re: Load balancing SSL sessions

2005-02-22 Thread Kelly Vista
@jakarta.apache.org Subject: Re: Load balancing SSL sessions Date: Tue, 22 Feb 2005 22:40:14 +0100 We use F5 BigIPs, but they are probably overkill for your application - The cisco probably will be as well. A 'Cheap' software solution might be to work with redirects, and 2 separate IP addresses. ie: ssl1

Re: Load Balancing Configuration

2004-09-22 Thread Alex
Hi Pete. If you do a search on this list, i posted last week an email with the configurations that work ... check it out. On Tue, 21 Sep 2004, Fournier, Pete wrote: Date: Tue, 21 Sep 2004 16:38:14 -0400 From: Fournier, Pete [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED]

RE: Load Balancing Configuration

2004-09-22 Thread Fournier, Pete
:] [uri:/jkstatus/*] group=status / END workers2.properties -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 11:02 AM To: Tomcat Users List Subject: Re: Load Balancing Configuration Hi Pete. If you do a search on this list, i

RE: Load Balancing Configuration

2004-09-22 Thread Alex
PROTECTED] Subject: RE: Load Balancing Configuration Found the message. Unless I am reading it wrong that is for Clustering. I am looking at configuring Load Balancing with sticky sessions. I have managed to get the adaptor to route requests to each of the Tomcat instances since I originally

Re: load balancing in workers2.properties

2004-09-08 Thread nyhgan
Hi, I got this workers2.properties from wrox.com. It claims to support load balancing by using more than one tomcat jvms. In their setting, they have several startup scripts for each tomcat instance. Does it mean that I need to have a unique tomcat installation folder, and a unique

RE: Load balancing question

2004-06-25 Thread Kommuru, Bhaskar
Hi Balaji, Are you trying with or looking for any loadbalancing? If you are trying, what you are trying with? If you are looking for here is some link that should work greate for you. But obviously, you find .. no good documentation. mod_jk2 documentation

Re: Load-balancing with MS IIS and tomcat 5

2004-06-21 Thread AHaider31
i have no idea what you are talking about i just want to get unsubscribed out of this website

Re: Load-balancing with MS IIS and tomcat 5

2004-06-21 Thread AHaider31
i have no idea what you are talking about i just want to get unsubscribed out of this website

RE: Load-balancing with MS IIS and tomcat 5

2004-06-21 Thread Carl Olivier
To unsubscribe, e-mail: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 08:50 AM To: [EMAIL PROTECTED] Subject: Re: Load-balancing with MS IIS and tomcat 5 i have no idea what you are talking about i just want to get

RE: Load balancing

2004-05-27 Thread Charles P. Killmer
To: 'Tomcat Users List' Subject: RE: Load balancing the docs for jk2 suggest : tomcatId is Automatically set to the localname ( host:port ) and that it Must match the JVM route on tomcat the server.xml Engine element, for load balancing So maybe: [channel.socket:172.16.10.39:8009] info=Ajp13

RE: Load balancing

2004-05-27 Thread Charles P. Killmer
with many host names. Charles -Original Message- From: Charles P. Killmer Sent: Thursday, May 27, 2004 3:14 PM To: Tomcat Users List Subject: RE: Load balancing Well I have it set up like this, but it isnt working quite right. Workers2.properties [shm:] info=Shared memory file. Required

RE: Load balancing

2004-05-26 Thread HIRODE,KARTHEEK (HP-Boise,ex1)
Charles Since you have the same context being used for both sites, the traffic gets load-balanced across both sites. [uri:/*] info=JSP examples, map requests for all JSP pages to Tomcat. context=/ If you need certain kinds of traffic to go to one site and certain others to go to the other

RE: Load balancing

2004-05-26 Thread Charles P. Killmer
to do this? Should I be looking at something other than tomcat? Thank You Charles -Original Message- From: HIRODE,KARTHEEK (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 3:55 PM To: 'Tomcat Users List' Subject: RE: Load balancing Charles Since you have the same

RE: Load balancing

2004-05-26 Thread Charles P. Killmer
=Site2/ Charles -Original Message- From: Charles P. Killmer Sent: Wednesday, May 26, 2004 3:58 PM To: Tomcat Users List Subject: RE: Load balancing Well heres my problem then. I have two sites. Site1.com and Site2.com. I need to use jsp. And I want to be able to have the default file

RE: Load balancing

2004-05-26 Thread Mike Curwen
the docs for jk2 suggest : tomcatId is Automatically set to the localname ( host:port ) and that it Must match the JVM route on tomcat the server.xml Engine element, for load balancing So maybe: [channel.socket:172.16.10.39:8009] info=Ajp13 worker, connects to tomcat instance using AJP 1.3

RE: Load-Balancing

2004-05-06 Thread Shapira, Yoav
Hi, With one tomcat instance ( = 1 JVM) running 10 apps, if one causes the machine to crash for whatever reason (malicious code, infinite loop, OutOfMemoryError, etc.), the other 9 are hosed as well. Thus separation is frequently desirable. Yoav Shapira Millennium Research Informatics

RE: Load-Balancing

2004-05-06 Thread Ralph Einfeldt
- stability No more to say than Yoav. - performance You may observe better performance with several vms on one server: - Depending on the quality of the thread implementation in your java vm and the os. - Depending on the quality of the gc implementation you may gain

Re: Load-Balancing

2004-05-06 Thread QM
On Thu, May 06, 2004 at 12:36:49PM -0400, Adam T. Gautier wrote: : The configuration would be easier, definatly... configuration, maybe. maintenance, probably not. ;) One of my clients had a large-scale J2EE setup. (Not Tomcat, but bear with me.) Several VMs ran on the server, but a single

Re: load balancing jk2 how to wait till context is truely available

2004-05-05 Thread Frank Duffner
seems I just found myself a little workaround for this problem by setting the timeout property of the loadbalancer to 60. now instead of showing the 500 error from tomcat jk2 waits up to 60 seconds, which is far long enough for the context to load. so no 500 errors no more. Still if someone

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-16 Thread Thomas D. Zeimet
, April 15, 2004 4:55 PM To: Tomcat Users List Subject: RE: Load balancing with apache2, mod_jk2 tomcat 5.0 Does the shm play a role in this? I note that you have the following: [shm] info=Scoreboard. Requried for reconfiguration and status with multiprocess servers. file=anon #size=104856

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-16 Thread Angus Mezick
The docs at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.htm l#How%20Load%20Balancing%20Works have been improved. Try reading them again. -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 10:17 AM To: [EMAIL

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Thomas D. Zeimet
- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 7:09 PM To: Tomcat Users List Subject: RE: Load balancing with apache2, mod_jk2 tomcat 5.0 Thanks but it doesn't seem to make any difference. For each tomcat server I added sections like the following

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Yang Xiao
To: Tomcat Users List Subject: RE: Load balancing with apache2, mod_jk2 tomcat 5.0 Yes. I did a full stop and start of apache. There are no errors in the log files either. Do you, or anyone else, have a workers2.properties file of a working system that you are willing to share? I've gone through

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Thomas D. Zeimet
] Sent: Thursday, April 15, 2004 7:46 AM To: Tomcat Users List Subject: RE: Load balancing with apache2, mod_jk2 tomcat 5.0 Yes. I did a full stop and start of apache. There are no errors in the log files either. Do you, or anyone else, have a workers2.properties file of a working

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Yang Xiao
Yes. -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 9:42 AM To: Tomcat Users List Subject: RE: Load balancing with apache2, mod_jk2 tomcat 5.0 Thanks. The only change that you made to the tomcat server.xml conf file is assigning your

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Thomas D. Zeimet
:/webtest/*] info=Test JSP Page group=lb [status:] -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 7:46 AM To: Tomcat Users List Subject: RE: Load balancing with apache2, mod_jk2 tomcat 5.0 Yes. I did a full stop

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Yang Xiao
page, kind of strange. Yang -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 4:55 PM To: Tomcat Users List Subject: RE: Load balancing with apache2, mod_jk2 tomcat 5.0 Does the shm play a role in this? I note that you have the following

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Ralph Einfeldt
Some members of this list have reported that the load balancing is broken as the instances of mod_jk[2] don't know the load of each other. So mod_jk[2] will balance to some extend but not as good as it could/should. -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED]

Re: Load balancing and the /manager webapp

2004-04-14 Thread Taximum06
I don't think you intend this to come to me.

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Yang Xiao
Hi, I think you need to further define the workers with {ajp13:psahammerhead:8009] channel=channel.socket:psahammerhead:8009 group=lb ... etc hope this helps. Yang -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 10:17 AM To: [EMAIL

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Thomas D. Zeimet
Thanks but it doesn't seem to make any difference. For each tomcat server I added sections like the following: [ajp13:psahammerhead:8009] channel=channel.socket:psahammerhead:8009 group=lb tomcatId=psahammerhead It still only wants to use one of the servers. There are other properties that

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Yang Xiao
: Wednesday, April 14, 2004 7:09 PM To: Tomcat Users List Subject: RE: Load balancing with apache2, mod_jk2 tomcat 5.0 Thanks but it doesn't seem to make any difference. For each tomcat server I added sections like the following: [ajp13:psahammerhead:8009] channel=channel.socket:psahammerhead

Re: load balancing with jk2

2004-03-30 Thread Chris Egolf
pablo wrote: maybe I am just missing something. I noticed that in my server.xml there is a portion that is commented out and is specific to JK2 load balancing . !-- You should set jvmRoute to support load-balancing via JK/JK2 ie : Engine name=Standalone defaultHost=localhost:8009 debug=0

Re: load balancing with jk2

2004-03-30 Thread pablo
Thank you . It was exactly what I needed to get over the hump. I just did as you said and tested it. Thanx a million . On Mar 30, 2004, at 1:45 PM, Chris Egolf wrote: pablo wrote: maybe I am just missing something. I noticed that in my server.xml there is a portion that is commented

RE: Load balancing for uptime

2004-03-16 Thread david . landy
My humble 2p worth... In your rebuild, perhaps you might consider avoiding the built-in session vars altogether. After getting caught with them in ASP a few years ago I vowed to avoid them altogether. My latest JSP app implements pseudo-session vars via a few classes and a db table, which takes

RE: Load balancing for uptime

2004-03-16 Thread Peter Lin
In practice, the load on the DB is the killer right? atleast in my experience, that is the killer unless you use a good database like sybase, db2 or oracle. my .2 cents. peter lin [EMAIL PROTECTED] wrote: My humble 2p worth... In your rebuild, perhaps you might consider avoiding the

RE: Load balancing for uptime

2004-03-16 Thread Angus Mezick
Disable all of the auto reloading features of tomcat. The mem leak seems to be centered there. Or at least, I haven't had a OOME since I turned that stuff off. You would need clustered sessions of some sort. They either need to be persisted across the network using filip's code (tomcat 5 has

RE: Load balancing for uptime

2004-03-16 Thread david . landy
Peter Lin wrote: snip In practice, the load on the DB is the killer right? /snip Peter, I have no personal experience, but that's what the docs that I've read say - the db access becomes the limiting factor. One further advantage of db-based session vars is that you can see in real-time what

Re: Load balancing for uptime

2004-03-16 Thread Reynir Þór Hübner
My experience is the same. hope it helps -reynir Angus Mezick wrote: Disable all of the auto reloading features of tomcat. The mem leak seems to be centered there. Or at least, I haven't had a OOME since I turned that stuff off. You would need clustered sessions of some sort. They either need

Re: Load balancing for uptime

2004-03-15 Thread David Rees
Derek Clarkson wrote, On 3/15/2004 10:32 PM: We have an app written in a mix of JSP, servlets and struts across 3 instances of apache, tomcat and an RMI server. To say that it's a pile of smelly stuff is an understatement, however it works (mostly) and our customers depend on it. At least once a

Re: Load balancing for uptime

2004-03-15 Thread Antonio Fiol Bonnín
Hi, To keep it up, you will need to setup session replication (See your Cluster element in server.xml), either in-memory or JDBC. Both are supposed to work. However, that implies several things: - Your session must contain Seralizable objects only. - Your performance will be worse (how much

Re: load balancing with apache2

2004-03-09 Thread Aadi Deshpande
Hi, Looks like a permissions issue. Is Apache running as nobody? Does it have rights to /conf/balancing.conf? ( which seems to located from the root directory of your server ). shyam wrote: Hi All, Can somebody help me with this. I am struck . thanks a lot From: shyam [mailto:[EMAIL

RE: load balancing with apache2

2004-03-09 Thread shyam
-Original Message- From: Aadi Deshpande [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 12:49 PM To: Tomcat Users List Subject: Re: load balancing with apache2 Hi, Looks like a permissions issue. Is Apache running as nobody? Does it have rights to /conf/balancing.conf? ( which seems

RE: Load Balancing Problem...Urgent

2004-02-02 Thread Shapira, Yoav
Subject: Re: Load Balancing Problem...Urgent Kok Wei, Koh wrote, On 2/1/2004 1:33 AM: Why not go with the latest:- * apache 1.3.29 I would recommend Apache 2.0.48 myself as it has the mod_deflate module which enables gzip compression and can save a LOT of bandwidth as well. I've been using

Re: Load Balancing Problem...Urgent

2004-02-01 Thread Kok Wei, Koh
Hi Nicholas, It is great to see undergraduates students (especially from Malaysia), using Tomcat in their projects ;-) High five dude! Ok first of all, if you're building a web application you may want to consider placing Apache 1.3.x in front of your Tomcat instance, to serve a all static

Re: Load Balancing Problem...Urgent

2004-02-01 Thread David Rees
Kok Wei, Koh wrote, On 2/1/2004 1:33 AM: Why not go with the latest:- * apache 1.3.29 I would recommend Apache 2.0.48 myself as it has the mod_deflate module which enables gzip compression and can save a LOT of bandwidth as well. I've been using Apache 2 along with mod_jk and load-balanced

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Asif Chowdhary
Yes you can cluster and load balance tomcat using mod-jk2 Connector -Original Message- From: Dean Searle [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 2:27 PM To: Tomcat Users List Subject: Load balancing a standalone Tomcat 4.1 I have searched around to find this and have

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Dean Searle
I knew you could do that with apache and tomcat, but I'm looking at only Tomcat itself and nothing else. -Original Message- From: Asif Chowdhary [mailto:[EMAIL PROTECTED] Sent: Tue 11/11/2003 14:37 To: Tomcat Users List Cc: Subject:RE: Load balancing a standalone

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Shapira, Yoav
balancing a standalone Tomcat 4.1 I knew you could do that with apache and tomcat, but I'm looking at only Tomcat itself and nothing else. -Original Message- From: Asif Chowdhary [mailto:[EMAIL PROTECTED] Sent: Tue 11/11/2003 14:37 To:Tomcat Users List Cc: Subject: RE: Load

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Dean Searle
14:44 To: Tomcat Users List Cc: Subject:RE: Load balancing a standalone Tomcat 4.1 Howdy, Yes, you can do with tomcat standalone. See http://www.filip.net/tomcat/tomcat-javagroups.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Dean Searle [mailto

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Shapira, Yoav
: RE: Load balancing a standalone Tomcat 4.1 Thank you very much, Yoav. Reading through it looks like I would need the assistance of Apache anyways, or can I have an instance of Tomcat listening on port 80 and do the load balancing? Dean -Original Message- From: Shapira, Yoav [mailto

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Dean Searle
To: Tomcat Users List Subject: RE: Load balancing a standalone Tomcat 4.1 Thank you very much, Yoav. Reading through it looks like I would need the assistance of Apache anyways, or can I have an instance of Tomcat listening on port 80 and do the load balancing? Dean -Original Message- From

RE: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread David Rees
On Tue, November 11, 2003 1at 1:52 am, Dean Searle wrote: Reading through it looks like I would need the assistance of Apache anyways, or can I have an instance of Tomcat listening on port 80 and do the load balancing? As Yoav hinted, you can use any type of load balancer in front of Tomcat.

Re: Load balancing with 2xTC5, 1xIIS and jk2

2003-09-15 Thread jerome moliere
Mats Andersson wrote: How do I define two workers for load balancing in workers2.properties? There is an example for the old jk, but I can't find any for jk2. Hi mats, i'm sure that the idea is the same define 1 worker for your first TC5 1 worker for the second TC5 1 worker

Re: Load balancing with 2xTC5, 1xIIS and jk2

2003-09-15 Thread Mats Andersson
Thanks for your reply, but I need something more specific. I don't think the syntax of the workers.properties is the same as in workers2.properties, so I would like to know _how_ to define the load balancer. Does anyone have an example workers2.properties file? Thanks! Mats jerome moliere

Re: Load balancing with 2xTC5, 1xIIS and jk2

2003-09-15 Thread Ashish-Kumar . Balyan
Hi here is a sample workers.properties that you can use. worker.list=tomcat0, tomcat1, loadbalancer worker.tomcat0.type=ajp13 worker.tomcat0.host=localhost worker.tomcat0.port=8009 worker.tomcat0.cachesize=100 worker.tomcat0.lbfactor=100 worker.tomcat1.type=ajp13 worker.tomcat1.host=localhost

Re: Load balancing with 2xTC5, 1xIIS and jk2

2003-09-15 Thread Ashish-Kumar . Balyan
Hi, My reply was for load balancing with Apache What I mean is that there should be something similar for IIS. Regards AB |-+--- | | Mats Andersson | | | mats.andersson@| | | xantus.se | | |

Re: Load balancing with 2xTC5, 1xIIS and jk2

2003-09-15 Thread Mats Andersson
Thank you for your answer. The configuration file below works for jk, but I want to use jk2 because it does not cause exceptions to be thrown at startup and it does not hang tomcat during shutdown in later tomcat releases (has something to do with Managed beans). I have found some information

Re: Load Balancing with MOD_JK and MOD_JK2 on windows.

2003-09-11 Thread Vladyslav Kosulin
Joe Harmon wrote: Please, please, please, can someone help. MOd_JK2 issue: If I am using mod_jk2.dll (tried several builds) I get the round robin to function, but not the stick sessions. All three instances of Tomcat are running on the same box using the same files with different ports. Here

Re: Load Balancing with MOD_JK and MOD_JK2 on windows.

2003-09-11 Thread Vladyslav Kosulin
Vladyslav Kosulin wrote: Joe Harmon wrote: Please, please, please, can someone help. MOd_JK2 issue: If I am using mod_jk2.dll (tried several builds) I get the round robin to function, but not the stick sessions. All three instances of Tomcat are running on the same box using the same files

Re: Load Balancing with MOD_JK and MOD_JK2 on windows.

2003-09-11 Thread Joe Harmon
That fixed it thanks Joe Harmon Web Services Support Novell Inc. - The leading provider of Information Solutions. (801) 861-9163 [EMAIL PROTECTED] [EMAIL PROTECTED] 9/11/2003 7:09:05 AM Joe Harmon wrote: Please, please, please, can someone help. MOd_JK2 issue: If I am using

RE: Load balancing

2003-06-20 Thread Roberts, Eric
Hi, Can you use the jvmRoute parameter? -Original Message- From: Pierre Maris [mailto:[EMAIL PROTECTED] Sent: 20 June 2003 16:38 To: [EMAIL PROTECTED] Subject: Load balancing Hi, I am working with a load balanced configuration (1 Apache and 2 Tomcat instances on the same machine).

RE: Load balancing

2003-06-20 Thread Ben Ricker
On Fri, 2003-06-20 at 09:52, Roberts, Eric wrote: Hi, Can you use the jvmRoute parameter? The above might work; I have not tried it. One thing I did was to turn on the Tomcat web listener and then I can directly access each Tomcat instance by port (Tomcat1 on Server 1 is port 8081 and

RE: Load Balancing Question?

2003-06-12 Thread Michael Cardon
Solved: I added the following to each of my tomcat server.xml files in the Engine tag: Engine jvmRoute=localhost:8009 . to tomcat1 Engine jvmRoute=localhost:8019 . to tomcat 2 -Original Message- From: Michael Cardon [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12,

Re: Load-balancing not equal amongst 2 Tomcat (using Apache and mod_jk)

2003-06-04 Thread Bill Barker
I don't have access to a HP-UX box, but at a guess, the HP-UX Apache uses the pre-fork MPM. What you are seeing is pretty typical of that case. At the very least, you need to be using the worker MPM for this to work at the moment. You'll also have to upgrade your version of mod_jk (at the very

RE: Load balancing and Sticky sessions

2003-03-20 Thread Filip Hanik
Hi Kavita, what clustering library are you using. There are several options that we can offer you to do. 1. Try the clustering that is going to ship with Tomcat 4, http://www.filip.net/tomcat-clustering.html 2. Take out Apache out of the equation to make sure your clustering is working

Re: Load balancing and Sticky sessions

2003-03-20 Thread Ben Ricker
Unless you have session replication going on between the two Tomcats (or are running Tomcat 5...doubtful since it is in its infant stages), you will always lose your session if you get sent from one Tomcat to another. Ben Ricker On Thu, 2003-03-20 at 12:09, Kavitha ranga wrote: Hello, I

RE: Load balancing and Sticky sessions

2003-03-20 Thread Jackson, Stephen
#worker. worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=tomcat1,tomcat2 # # END workers.properties # -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 1:18 PM To: Tomcat Users List Subject: Re: Load balancing and Sticky sessions

RE: Load balancing and Sticky sessions

2003-03-20 Thread Filip Hanik
: Load balancing and Sticky sessions Unless you have session replication going on between the two Tomcats (or are running Tomcat 5...doubtful since it is in its infant stages), you will always lose your session if you get sent from one Tomcat to another. Ben Ricker On Thu, 2003-03-20 at 12:09

Re: Load balancing and Sticky sessions

2003-03-20 Thread Kavitha ranga
between the 2 tomcats I am losing my sessions.Also we are on jdk1.3. Any suggesions in highly appreciated. Thanks for the quick response. Kavitha From: Ben Ricker [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Load balancing

RE: Load balancing and Sticky sessions

2003-03-20 Thread Filip Hanik
PROTECTED] Sent: Thursday, March 20, 2003 10:28 AM To: [EMAIL PROTECTED] Subject: Re: Load balancing and Sticky sessions I think I did not make my point clear. I have to rephrase my question. we have Apache 1.3 and 2 tomcats(4.0 ) running on 2 different servers. The 2 servers are on SUN cluster and we

RE: Load balancing and Sticky sessions

2003-03-20 Thread Ralph Einfeldt
idea to have a look at: http://www.ubeans.com/tomcat/ -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 7:18 PM To: Tomcat Users List Subject: Re: Load balancing and Sticky sessions Unless you have session replication going on between

RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jser ve-- SOLVED

2003-01-14 Thread Abraham Kang
I already looked at the ubeans site but it does not detail how to load balance Tomcat 3.3. Abraham -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 7:41 PM To: 'Tomcat Users List' Subject: RE: Load balancing Tomcat 3.3 from Apache

RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jser ve -- SOLVED

2003-01-14 Thread Turner, John
benefit in addition to the info already posted pertaining to httpd.conf and workers.properties. John -Original Message- From: Abraham Kang [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 12:54 PM To: Tomcat Users List Subject: RE: Load balancing Tomcat 3.3 from Apache

RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jser ve-- SOLVED

2003-01-14 Thread Abraham Kang
about this. Thanks, Abraham -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 10:05 AM To: 'Tomcat Users List' Subject: RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jser ve -- SOLVED My point was that the load balancing

RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jserve

2003-01-13 Thread Turner, John
http://www.ubeans.com/tomcat I haven't seen a resource for doing that with Tomcat 3.3.x, but that doesn't mean there isn't one or that nobody has done it. John -Original Message- From: Abraham Kang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 4:21 PM To: [EMAIL

RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jser ve

2003-01-13 Thread Abraham Kang
PROTECTED]] Sent: Monday, January 13, 2003 1:26 PM To: 'Tomcat Users List' Subject: RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jser ve http://www.ubeans.com/tomcat I haven't seen a resource for doing that with Tomcat 3.3.x, but that doesn't mean there isn't one or that nobody has

RE: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jserve -- SOLVED

2003-01-13 Thread Turner, John
A good HOWTO: http://www.ubeans.com/tomcat John -Original Message- From: Abraham Kang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 10:19 PM To: [EMAIL PROTECTED] Subject: Load balancing Tomcat 3.3 from Apache with mod_jk or mod_jserve -- SOLVED Ok, Here is my setup:

Re: load balancing with in-process workers in 3.3.1

2002-12-09 Thread George McKinney
Hmmm, after digging through some more of the docs, it looks like the inprocess workers aren't available for Apache. Is this correct? But I'm still curious. would the setup I outlined work on a server on which the inprocess workers are supported? George. - Original Message - From:

Re: load balancing with routing with mod_jk in cluster

2002-10-28 Thread Bernd Koecke
Hi, it seems that you want to use mod_jk on the nodes as balancer. We don't use it in that way. We have a load balancer in front of our nodes, which has a standby balancer, if the first one goes down. If we want to get your requested behavior, we had to configure this on our load balancer, not

Re: load balancing with routing with mod_jk in cluster

2002-10-28 Thread Alexander Piavka
Hi Brend, Hi, it seems that you want to use mod_jk on the nodes as balancer. We don't use it in that way. We have a load balancer in front of our nodes, which has a standby balancer, if the first one goes down. If we want to get your requested behavior, we had to configure this on our

RE: load balancing with routing with mod_jk in cluster

2002-10-28 Thread Turner, John
Piavka [mailto:piavka;cs.bgu.ac.il] Sent: Monday, October 28, 2002 9:25 AM To: Tomcat Users List Subject: Re: load balancing with routing with mod_jk in cluster Hi Brend, Hi, it seems that you want to use mod_jk on the nodes as balancer. We don't use it in that way. We have

RE: load balancing with routing with mod_jk in cluster

2002-10-28 Thread Alexander Piavka
Users List Subject: Re: load balancing with routing with mod_jk in cluster Hi Brend, Hi, it seems that you want to use mod_jk on the nodes as balancer. We don't use it in that way. We have a load balancer in front of our nodes, which has a standby balancer, if the first

Re: load balancing with routing with mod_jk in cluster

2002-10-28 Thread Robert L Sowders
: Subject:Re: load balancing with routing with mod_jk in cluster Hi, it seems that you want to use mod_jk on the nodes as balancer. We don't use it in that way. We have a load balancer in front of our nodes, which has a standby balancer, if the first one goes down. If we want to get your

Re: load balancing with routing with mod_jk in cluster

2002-10-27 Thread Alexander Piavka
Bernd thanks for your reply. There is one more question i have. I have 3 nodes N1,N2,N3 each runs apache and tomcat. On node N1 i want to run lb_worker1 which will route all requests between all nodes. All apache servers will send requests to this lb_worker1. On node N2 i want to run

  1   2   >