My project requires to create multiple instances of Tomcat 5.0.25 on Windows XP machine
Instance1 should run JRE 1.4
Instance2 should run JRE5
Instance1 will have all the existing applications which are currently running on JRE1.4
Now we would slowly move to Instance2 where JRE5 is present and also all new applications will developed and deployed on Instance2.
Basically we going to use this method of creating Instance2 with JRE5 because we would like to move all the old applications to Java5.We have to go this way because of Java5 in compatability issues with Java1.4.
If we are able to create Instance2 with JRE5 we will slowly move existing applications from Instance1 with JRE1.4 after testing each application cartefully.
Please kindly help me on this if anybody has knowledge or implemented already in their respective projects.Please revert back to me with steps.
All you have to do is make sure you set JAVA_HOME environment variable to the appropriate version of JDK before starting the individual instances. For example while starting instance1, you would set JAVA_HOME to point to JDK 1.4 (assuming you want to run it against 1.4) and start the server. Now for instance2, you would set JAVA_HOME to JDK 1.5