Robert Lin wrote:
We are trying to setup an automated J-Unit test from Ant using Cruise
Control where we need multiple copies of tomcat servers running (by
supplying different server.xml files).
I suppose you want the same Tomcat binaries but different configuration per Tomcat instance. Search for the file RUNNING.txt in the root directory of your Tomcat distribution. They call this setup "Multiple Tomcat 5 Instances".
Is there something I'm missing, any suggestions? Thanks in advance.
What you need to do is to create a new CATALINA_BASE (i.e.: copy the files and directories specified in the file RUNNING.txt and edit the individual server.xml to avoid TCP ports collisions). Then you need to pass the "-Dcatalina.base=$CATALINA_BASE" argument to the startup command. In case your Tomcats run on Linux, you might succeed with the MITI script (http://miti.sourceforge.net/ Any feedback is welcome, because I am curious whether it is useful at all).
Wolfgang
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
