Hello everybody,

I am using tomcat 3.2 with apache 1.3.20 on solaris 2.6

i am trying to have two instances of tomcat each serving one particular context and 
run by one unix user

I have only one tomcat directory structure

unix user1 should run tomcat to serve web application webapps/app1
unix user2 should run tomcat to serve web application webapps/app2

user1 use the conf/server_user1.xml file where i defined a connector ajp12_user1 on 
port 8007
user2 use the conf/server_user2.xml file where i defined a connector ajp12_user2 on 
port 8009

I have configure apache to pass /app1/*.jsp (& /app1/servlet/*) url through 
ajp12_user1 connector and to pass
/app2/*.jsp (& /app2/servlet/*) url through ajp12_user2 connector

I have also configure the workers.properties to fully define ajp12_user1 and 
ajp12_user2.

Now my problem is that i don't want the "user1" tomcat interfere with the "user2" 
tomcat. And with my configuration,
the app1 context is added by the "user2" tomcat startup and the same the other way

Can anybody have any tips to provide in order to prevent one tomcat process to add 
context I wish to be added only
by an another tomcat process?

I thought about creating two directories for each user with sub-directories webapps, 
conf, log in order to remain with
only one lib, classes and bin sub-directories under tomcat_home. Is it a good idea?
My concern is about the workers.properties file : should I to duplicate this file in 
the two conf directories as is (with the
two workers ajp12_user1 and ajp12_user2 defined in each) or to have only the worker 
related to the user defined in
each workers.properties file.

Thanks in advance for some help
______________________________________________________
Bo�te aux lettres - Caramail - http://www.caramail.com

Reply via email to