• 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

Tomcat running as service

 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Purpose is to run 2 Tomcat instances as seperate services on one machine.

I took these steps:
- I installed a version of a JVM, e.g. j2sdk1.4.2_03
- I have on a server 2 instances of Tomcat installed. I changed the name of the map where the installation files or placed. So instead of "C:\Program Files\Apache Software Foundation\Tomcat 5.0" i named them "C:\Program Files\Apache Software Foundation\Tomcat 5.0 webappA" and C:\Program Files\Apache Software Foundation\Tomcat 5.0 webappB". Is this correct or should i do this in a different way?
- i changed in both server.xml some ports so i can't get a bindException because some port is already in use.
- i started both startup.bat files and they both run without any problem.

here comes the problem: when i use the tomcat5w.exe to install the service the "path to executable" on the tab "General" both point to "C:\Program Files\Apache Software Foundation\Tomcat 5.0 webappA".

Any information would be greatly appreciated
Thanks in advance
reply
    Bookmark Topic Watch Topic
  • New Topic