For example: There are two versions of Tomcat, one 5.*, one 6.*, and since two projects are deployed under two versions of Tomcat, you need to start two tomcat at the same time, here are the methods:
1. Special note: Do not set catalina_home
2. Modify the Server.xml file in the Conf subdirectory of the installation directory, respectively:
A. Modify the HTTP access port (the default is 8080 port, I am used to the installation of the time to change to another port number, such as 5.* changed to 8081,6.* 8086), 8080 is modified to Tomcat is not used port number. The port number you set here is the port number that you will use to access the web later.
B. Modify one of the Tomcat's shutdown ports (in Server.xml, the default is Port 8005) and change 8005 to a port number that is not in use, such as 8055.
C. Modify one of the Tomcat's 8009 ports, modify the 8009 to not use the port number, (also modified in server.xml) For example 8099 (note: Two files in the corresponding port number or the same)
3. Start two tomcat in turn. Can all be started in eclipse (for example my tomcat5.0 is a plugin version, there is a cat in eclipse, and the other 6.0 version is through MyEclipse in Windows--perfrences--... Configuration), can also be started by the corresponding Startup.bat, can also be started with a elipse, another through the Startup.bat boot.
How to start two tomcat simultaneously in one eclipse