tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: load balancing 2 tomcats on 1 machine question
Date Thu, 18 Aug 2005 16:24:29 GMT
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:mladen.turk@jboss.com]
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


<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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message