You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vijay Kandy <Vi...@mailcode.com> on 2002/03/27 14:24:43 UTC

Multiple instances of tomcat

Hello all,

I have posted this once, but went unanswered. Can some one please help me?
Iam having problems configuring multiple instances of Tomcat with Apache. 
I have 7 instances of Tomcat talking to Apache. But Tomcat is serving both
HTML and Servlet content. I want Apache to serve HTML and Tomcat to serve
out Servlet content. I have a xxxx_server.xml file for each instance of
Tomcat and the Context goes like this:
<Context path="/pboAlpha"
docBase="webapps/pboAlpha"
debug="0"
reloadable="false" 
crossContext="false" >
</Context>
[I have one context in each server.xml file so, each instance hosts just one
context.] Also I have 1 tomcat.conf and it goes this like:
ApJServMount /pboAlpha ajpv12://dev.server.com:8995/pboAlpha
ApJServMount /pboBeta  ajpv12://dev.server.com:8996/pboBeta
...and 5 more...

I think, as soon as Apache come across /pboAlpha in the URL, it forwards it
to Tomcat instance wether it be a HTML request or Servlet request. What am I
doing wrong? I would be grateful for any help.
Thank you,
Vijay.


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>