• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Running two instances of Tomcat on same win2k box?

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to establish separate instances of Tomcat on the same physical server for SIT and UAT testing. I decided on 2 separate installs of the whole package, but cannot seem to get them both to work simultaneously. (I did assign different ports to all ports I could find in the server.xml files). The first instance from the first install comes up, but not the second. Is there some resource that is in contention that I don't know about. Also, if I can't run 2 installs simultaneously is there anyway to run separate instances off of the same installation (which is fairly easy to do with packages like weblogic)
Thanks,
Morgan
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can run only one server per Tomcat, you can however run 2 services; within each service you define 1 host (you have to define 2 virtual hosts); from there you can run 2 environments on one box

Plan B: I guess you run 2 tomcats on one box too, you have to look careful in the settings of environment variables CATALINA_BASE and CATALINA_HOME of each of the installations...
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can do it. I've got two instances running at the same time.
I've got CATALINA_HOME pointed to my primary Tomcat Install.
CATALINA_BASE pointed to my TEST Tomcat Install. I had to install Tomcat to two different directories obviously.

Check and doublecheck your ports. Also make sure your Windows 2000 service (if installed) shows your separate installation directory. And check your Start Menu shortcuts, they may point elsewhere.
reply
    Bookmark Topic Watch Topic
  • New Topic