I am using Tomcat 5.5 to run multiple instances of Tomcat (JVM) on one machine 
(localhost) using Eclipse. I have two webapps "a" and "b" with their respective 
web.xml files in $CATALINA_HOME\webapps\WEB-INF. I have two server.xml files 
(server-a.xml and server-b.xml), one for each webapp with different server and 
connector ports. 

The $CATALINA_BASE/conf/Catalina/localhost directory contains a.xml and b.xml 
files with <Context path="/a" docBase="a" debug="0" reloadable="true"/> and 
<Context path="/b" docBase="b" debug="0" reloadable="true"/> entries 
respectively. 

Issue: When I start one webapp "b" using Eclipse (program argument = -config 
"${CATALINA_BASE}\conf\server-b.xml" start), the webapp a is started first and 
then webapp "b" is started. Vice versa is not true. I am unable to find a 
reason *why* this webapp "a" is getting started. 

While trying to debug that I am wondering if my way of using two server.xml 
files for this scenario correct or is there any other way?
(A similar solution is mentioned at 
http://tomcat.apache.org/tomcat-3.3-doc/tomcat-apache-howto.html although it's 
a bit legacy version.)

Thanks,
Rahul.


 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to