Trying to run two tomcats (4.0.1 and 1.3.4) on the same win2000 machine. No matter how I change the port number in the server.xml file, the sencond won't start properly. it gives "java.net.BindException: Address in use: bind" Please kindly give suggestions, Thanks!
If two copies of tomcat are installed, how did you set the CATALINA_HOME? Technically, if you installed the zip version, having two copies on the hard drive should be OK, but you have to be sure your application is in the right webapps folder.
On one server.xml, do a global replace. Replace 'port="8' to 'port="9' and see what happens, I suppose u are only trying it for experimenting purposes.
posted 17 years ago
Steve and Patricia, Thanks for your replys! My problem is to integarte two web appications with different versions of Server engines of tomcat. One is an old legacy one. so iam not sure if the application would get effected if the server engine is upgraded. Older version of tomcat doesn't have cataline_home. Anyway, we would run two seperate processes for these two copies of tomcats, and each process would have its catelinea_home or tomcat_home referring to its own installation directory respectively.
In the sever.xml's, the tcp connectors would refer to different listening ports. You are right that several defalt ports need to be changed to void conflicts.