Multiple instances
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   don_tam
Posted On:   Monday, February 2, 2004 09:13 AM

How do I set up Tomcat to work with multiple users/instances?



I know it has something to do with catalina.base, but I'm not sure where to put it.




Thanks.

Re: Multiple instances

Posted By:   Anonymous  
Posted On:   Saturday, February 7, 2004 04:42 AM

You're right !!


For example,



export CATALINA_HOME=/Tomcat-main



[then you can run the two instances]



export CATALINA_BASE=/Tomcat-JVM-1

/Tomcat-main/bin/startup.sh



export CATALINA_BASE=/Tomcat-JVM-2

/Tomcat-main/bin/startup.sh



You'd better code a little script to start and shutdown the two instances.




Tomcat-main /

bin/

...



Tomcat-JVM-1/

conf/ server.xml (for the JMV 1)



Tomcat-JVM-2/

conf/ server.xml (for the JVM 2)

About | Sitemap | Contact