|
Subject:
|
Several Tomcat Installations on the same machine
|
|
Posted By:
|
jimmy_t
|
Post Date:
|
1/25/2007 1:19:13 AM
|
Hello, I need to have Tomcat 4, 5 and 5.5 installed on my computer but I don't need to be able to run them at the same time. Is there anyone who knows what needs to be done to install three versions of Tomcat?
/Jimmy
|
|
Reply By:
|
jimmy_t
|
Reply Date:
|
1/25/2007 4:56:59 AM
|
I made an ugly solution but it's perfect for me because I don't switch between the Tomcat Version that often. I have a .reg file for every version that I run before starting a specific Tomcat Version.
It's named tomcat50_env_variables.reg and contains the following:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment] "ANT_HOME"="C:\\ant\\ant-1.7.0" "JAVA_HOME"="C:\\Program Files\\Java\\jdk1.5.0_10" "JAVA_OUT"="c:\\Temp" "TOMCAT_HOME"="C:\\Program Files\\Apache Software Foundation\\Tomcat 5.0" "CATALINA_HOME"="C:\\Program Files\\Apache Software Foundation\\Tomcat 5.0"
So it just sets the environment variables for a specific version. Not that nice but it works and time is of the essence so I'm satisfied with that.
|