Hi,

Apologies in advance if this question is already answered somewhere obvious.... I'm attempting to run two different versions of Tomcat concurrently on the same server, with two separate apache installations. I've some brief questions about running a server with this setup, so maybe somebody on this list can help me?

We have Tomcat 3 installed on a server hosting a live site with Apache-1.3. A second site is due to go live soon which has been built and tested on a development server under Tomcat 4r. We would obviously like to use the same version of Tomcat on the production server as the test environment, to avoid problems!

I've got two separate Apache configurations running. A freshly installed Apache-2 installation binds to a single new IP address on the server, and does not interfere with the existing Apache-1.3 that is running multiple site on multiple addresses. Apache-2 has been built with the mod_jk connector.

I've installed Tomcat 4 on the server, and would like to bind it to the same specific IP address as the Apache-2 installation.

My questions are:

1. Will the Tomcat start and stop scripts, or any other aspects of the two installations, interfere with each other?

I've made sure that the two Tomcat installations are installed in distinct areas of the hard disk

2. Specifically, what is required to bind Tomcat 4 to a specific IP address for all it's various ports?

Do I need to add "address="w.x.y.z" in the server.xml file where every port="80xy" statement occurs?
Should I change all instances of "localhost" in the server.xml file to the name corresponding to the apache-2 IP address in the "/etc/hosts" file and DNS? Is there a single global setting that will bind all Tomcat's ports to a specific IP address?

Thanks

- Matt




--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to