tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thébault, Médérick" <Mederick.Theba...@brittany-ferries.fr>
Subject worker2.properties
Date Thu, 07 Nov 2002 14:40:32 GMT
Hello,

In setting up Tomcat 4.1.12 and Apache 2.0.42, I did the following for
worker2.properties:

[shm]
file=c:/shm.file
size=1048576

[channel.socket:myhost1.com:8009]
port=8009
host=127.0.0.1

[channel.socket:myhost2.com:8009]
port=8009
host=127.0.0.1

# define the worker
[ajp13:myhost1:8009]
channel=channel.socket:myhost1.com:8009

# Uri mapping
[uri:myhost2.com/TruckEnqui]
worker=ajp13:myhost2:8009

# Uri mapping
[uri:myhost1/TruckEnqui]
worker=ajp13:myhost1:8009

The goal was to deploy two instances of the same servlets (hence two
virtuals hosts).
It is working the way I want but I would like to know why this is
working with only one worker defined and linked (apprently) to myhost1?

As there is two virtual hosts on both apache and tomcat (dealing each
other clearly, I think), did I have to define two different workers, one
for each Vhost?

Thanx for any tip,

Med

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message