• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat running as service

Roel De Nijs
Posts: 10763
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!