tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albretch Mueller" <tomcat_lbrt...@hotmail.com>
Subject Running more than one instance of Tomcat on the same machine
Date Mon, 02 Jul 2001 15:41:27 GMT
Hi,

I am trying to run another instance of tomcat on the same machine, listening 
to another port, ...

I copy the whole content of the "jakarta" folder into a second directory and 
run the startup script from there but it did not work (the rationale being 
that you may run the same java program in two different directories, since 
they will startup on their own JVM)

I was tinkering with the startup script and came up with the following that 
- did not work- (Notice the "\prjct02\" folder):

- - - - - - - - - - - - - - - - - - - - - - - - -
SET _RUNJAVA02="%JAVA_HOME%\bin\java"

SET _CATALINA_OPTS02=%CATALINA_OPTS02%
SET _CATALINA_HOME02=%CATALINA_HOME02%

SET CATALINA_OPTS02=" "
SET CATALINA_HOME02= "C:\tomcat\prjct02\jakarta-tomcat-4.0-b5\"

%_RUNJAVA02% %CATALINA_OPTS02% -Dcatalina.home="%CATALINA_HOME02%" 
org.apache.catalina.startup.Bootstrap %2 %3 %4 %5 %6 %7 %8 %9 start


- - - - - - - - - - - - - - - - - - - - - - - - - - -

How do you run a totally separate instance of tomcat in the same machine 
listening to incomming requests from another port, ...?

Thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Mime
View raw message