----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

What's the best way to implement multiple tomcat servlet engines
running on the same machine?  Currently I have two servlet contexts
defined in my server.xml, one for production and one for development.
This works well in that it gives me two distinct urls and webapps
subdirs.  However I cannot restart the servlet container for one
context without affecting the other.  Some days during development I
need to restart the container a dozen times, which is obviously not
great for the production URLs.

My first attempt at a solution was to create two distinct server.xml
files in the TOMCAT_HOME/conf dir, and simply start up two tomcat
instances on different ports.  The problem with this is that they both
want to write to the same tomcat-apache.conf file in the conf dir;
whichever tomcat instance is started last overwrites the file.  The
next obvious step is to simply have two conf directories, but I'm
thinking there must be a better solution.  What's the best way to
maintain multiple Tomcat servet engines running on the same machine?

Thanks

PS: I am using Tomcat 3.1.

--
George Armhold
Rutgers University
Bioinformatics Initiative


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to