In the workers2.properties file specify the second instance of your tomcat
and the port number.

For example

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009

[channel.socket:localhost:8010]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8010

In the first tomcat server.xml this will be jvmRoute="localhost:8009"
in the engine directive.

In the server.xml in the specify JVM attribute to jvmRoute="localhost:8010" in the 
Engine directive.
in the connector directive and change the port number to 8010


-----Original Message-----
From: Peter Choe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 3:30 PM
To: Tomcat Users List
Subject: defining multiple tomcat server on one workers2.properties file


i have an apache webserver that will handle request made to tomcat and 
hand off the request using jk2.  i have the workers2.properties to 
handle this with one tomcat server.  however, i have another tomcat 
server that i need the request to be sent to.  i have done this with jk 
by defining a separate worker and specifying the other server.

how is this done with jk2?  does anyone have an example i can use?

Peter Choe


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


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

Reply via email to