tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Powell.Kris" <>
Subject RE: multiple instances of tomcat
Date Thu, 06 Feb 2003 07:56:33 GMT
You need to set the CATALINA_BASE environment variable for each instance, so
in the bin directory:

set CATALINA_BASE=c:\aa1

set CATALINA_BASE=c:\aa2

Make sure you also have the shutdown ports (8005) set to two different
values in the server.xml files.

You can add the debug attribute (<Logger debug="9">) in the server Logger
element and check the logs to see what is going wrong. Also, if the window
is closing sraight away and you can't see the messages, then open two
command prompts and start one instance in one, the other in the other with
the command:

catalina.bat run

This runs the instance in the same window so it stays open if it exits

Hope this helps.


-----Original Message-----
From: Henry Krasny []
Sent: Wednesday, February 05, 2003 10:56 PM
Subject: multiple instances of tomcat


I'm having lots of trouble starting a second instance of tomcat on my
machine, Windows XP. I am able to start a single instance on port 8080
(the default installation). I can also start a single instance on port
8081 (C:\aa1) using the instructions in RUNNING.txt (section 4), but I
cannot get the second instance to start.



Port: 8081

Location: C:\aa1

C:\aa1\conf\server.xml: (line 94) Connector port="8081"



Port: 8082

Location: C:\aa2

C:\aa2\conf\server.xml: (line 94) Connector port="8082"


Both locations contain full copies of these directories: conf, logs,
temp, webapps, work


What should my CATALINA_BASE be set to to allow me to start both

What other changes should I be making to server.xml?


I assume the instances will be accessed this way:

http://localhost:8081/index.jsp <http://localhost:8080/index.jsp> 

http://localhost:8082/index.jsp <http://localhost:8080/index.jsp> 


What is the exact start command? (I try to use 'startup.bat' in bin of
the tomcat root.)


Also, from RUNNING.txt, I don't know what to do with the administration
and manager web applications as described in section 4.


Any help appreciated.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message