for my experiment I am using tomcat 6.
extract the 2 tomcats into separate locations on your disk.
You will need to modify the server.xml in order to get two tomcats on the same machine.
I made the following modifications in server.xml-
<Server port="8015" shutdown="SHUTDOWN">
<Connector port="8083" protocol="HTTP/1.1".../>
<Connector port="8029" protocol="AJP/1.3" redirectPort="8443" />
One of the things I noticed was that whenever I started the 2nd tomcat by clicking the batch file in the bin directory, it would still open the older tomcat I had. To get rid of this behavior get rid of the windows environment variable that you might have set - CATALINA_HOME
extract the 2 tomcats into separate locations on your disk.
You will need to modify the server.xml in order to get two tomcats on the same machine.
I made the following modifications in server.xml-
<Server port="8015" shutdown="SHUTDOWN">
<Connector port="8083" protocol="HTTP/1.1".../>
<Connector port="8029" protocol="AJP/1.3" redirectPort="8443" />
One of the things I noticed was that whenever I started the 2nd tomcat by clicking the batch file in the bin directory, it would still open the older tomcat I had. To get rid of this behavior get rid of the windows environment variable that you might have set - CATALINA_HOME