Hi,
We are trying to use Tomcat with Apache. We need to run multiple
copies of an application so we are trying to configure multiple
instances of Tomcat working with the Apache server configured for
as many virtual hosts. Basically an application instance gets its own
JVM (due to its own Tomcat instance) and Apache server forwards
the requests to respective Tomcat instances based on the virtual host
name.

This seems to work well with Jserv but we are having a problem
getting the same to work with Tomcat. The problem we are facing
is where to specify what port will be used by a Tomcat instance.
The APJServMount directive (for JServ) used to take the port
number on which the respective Tomcat instance will be listening
but JkMount (used for Tomcat) does not seem to be taking such
a parameter.

We understand that for each Tomcat instance we need to have a
separate server.xml file where we can specify the port number
where this Tomcat instance will listen on but it seems the Apache
server doesn't know to which port it should forward the requests
for a virtual host.

Also, we are not sure if we need to use the Host directive in the
server.xml file. It appears that this directive is required when we
want to host multiple virtual hosts on the same Tomcat instance.
In our case each virtual host gets its own instance so this directive
may not be required.

If any of you have come across this sort of problem, any help
will be greatly appreciated.

Thanks
Surendra Shahi



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to