| Author |
Multiple Instances of Tomcat
|
kamal kumar sharma
Greenhorn
Joined: Jul 26, 2011
Posts: 9
|
|
Hi ,
I am trying to run two instances of TOMCAT in windows.Here following that i have done.
1.set CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 6.0
2.set CATALINA_BASE=D:\tomcat2
3.copy conf,temp,work,logs,wepapps in tomcat2 installation directory
4.changed the port number in server.xml for tomcat 2
5.now started the tomcat home
but second instance of tomcat does'nt start.
Please help me to get rid off from this problem.
Thanks,
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3670
|
|
Welcome to the CodeRanch, Kml Sharma!
kml sharma wrote:... but second instance of tomcat does'nt start...
What problem(s) you have? Any errors etc...
|
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14456
|
|
Probably you didn't change the other 4 port numbers in server.xml. Tomcat uses more than just port 8080.
But without actual error messages, that's just a guess based on what people usually miss out on.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
kamal kumar sharma
Greenhorn
Joined: Jul 26, 2011
Posts: 9
|
|
Hi ,
yes,i have modified all required port number in server.xml of second TOMCAT instances.
SHUTDOWN=5555
HTTP/1.1=5554
AJP/1.3=5553
CATALINA_BASE=D:\tomcat2 and copied conf,logs,webapps,work folder to this location.
for primary instance
CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 6.0
SHUTDOWN=1500
HTTP/1.1=1499
AJP/1.3=1498
after that when i start first instance ,it started as before but the for second instance when i access following url.
http://localhost:5554 the browser shows
can't establish a connection to the server at localhost:8888.
Thank you
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14456
|
|
That would seem to indicate that Tomcat is working, but the page request redirected to port 8888.
Are you using Apache web server with a Tomcat connector?
|
 |
 |
|
|
subject: Multiple Instances of Tomcat
|
|
|