• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multiple Instances of Tomcat

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
kamal kumar sharma
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic