I am trying to run multiple
tomcat servers on Windows. I have downloaded and installed the tomcat7 zip (not using the installer) to three different folders, and updated the port information so they do not conflict. Everything seems to work fine if I run all three manually using the service.bat script that comes with tomcat.
When executing service.bat manually, I updated the
java memory parameters by modifying service.bat as such:
However strange things happen when I run it as a Windows service. I installed the services with the following commands:
When running these servers I'll see that my web applications stop responding. I don't see any error messages, it's just very slow to respond, and usually doesn't respond at all. Very strange.
Are there any issues with using tomcat7 services like this? Am I doing something crazy with setting the Jvm params in the service install? Any suggestions for how to find the root cause?
Also, is there any chance that are any conflicts with %CATALINA_HOME%? If so, how can I resolve that?