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 tag
for the first and jvmRoute=tomcat2 for the second instance.


 
workers.tomcat_home=d:\jakarta-tomcat

workers.java_home=c:\Program Files\Java\jdk1.5.0
ps=\



You don't need that


 
worker.inprocess.type=jni

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr



You don't need that too.


Regards,
Mladen.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
 
 
 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 tag
 for the first and jvmRoute=tomcat2 for the second instance.
 
 
   
  workers.tomcat_home=d:\jakarta-tomcat
  workers.java_home=c:\Program Files\Java\jdk1.5.0
  ps=\
 
 
 You don't need that
 
 
   
  worker.inprocess.type=jni
  
 worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps
 )tomcat.jar
  worker.inprocess.cmd_line=start
  
 worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$
 (ps)classic$(ps)jvm.dll
  
 worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)in
 process.stdout
  
 worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)in
 process.stderr
 
 
 You don't need that too.
 
 
 Regards,
 Mladen.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]