Thursday, December 6, 2001 01:59 AM
Your error is caused because you cannot use the same port on more than one instance of Tomcat. If the first instance is using the defaults setting, the second one need to have different ports to use.
If you want to run three instances of Tomcat 3.3.x (or 3.2.x) without, obviously, duplicate Tomcat's codebase, you can set up three different configuration files (server.xml), all of them using differents ports (or you'll get the "Address already in use" error again). Then you start Tomcat with the option "-f" followed by the name of the configuration file.
For Tomcat 4.0.x, you can use the CATALINA_BASE and CATALINA_HOME variables to use different instances sharing the same Tomcat code. The procedure is explained in the pages of the Tomcat 4 Documentation site, part of the Jakarta Tomcat web site