You don't need to put 2 JVM, what you should do is to specify two virtual
host in your server.xml...that's all...is better performance with
ConnectionPool...
Guido
----- Original Message -----
From: "Chauhan, Anand" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 3:20 PM
Subject: *2* tomcats on same machine with *same* context on Apache Web
Server.
> Hi All:
>
> Here is the link which does describe using two Tomcats on the same
> machine with different connector ports. It uses different contexts as
> seen in the example in the link below, namely,
> ApJServMount /joe ajpv12://localhost:8007/joe
> ApJServMount /joe ajpv12://localhost:8009/bill.
>
> <refer to Configuring for Multiple Tomcat JVMs >
> http://www.crosswinds.net/~workshopx/projects/jakarta-uguide/tomcat.ug-
> p2.tomcat-and-apache.html
>
>
> However, what we need is that, we want two Tomcats on the same machine
> BUT with a single context i.e. the url must point to the same context
> at the end ,say 'joe'.
> ApJServMount /joe ajpv12://localhost:8007/joe
> ApJServMount /joe ajpv12://localhost:8009/joe
>
> That's the problem, we tried working on it for a long time, but it
> fails with the *same* context. Is it possible to deploy *2* tomcats on
Apache Web Server
> and calling the same context each time ?!
>
> Let me know if following this idea is indeed possible.
>
> Thanks a lot.
>
> Regards,
> Anand Chauhan
>