To seperate the JSP repositories for each instance, you can specify the jsp
compiled classfile directory in the ContextManager tag in Server.xml. Just
change the workDir variable to different directories. That way you don't
have to orry about reading the wrong JSP repository. 

Josh

-----Original Message-----
From: Sankaranarayanan Ganapathy [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 1:49 PM
To: '[EMAIL PROTECTED]'
Subject: RE: multiple instances of tomcat


Hi,

I am not sure if it possible to run two instances of tomcat in standalone
mode with different versions of server.xml. Tomcat has this strong notion of
home built in to, the two tomcats should have different homes if they were
to work mutually exclusive of each other. For if the two instances were to
use the same home they both of them would see the same set of
webapplications, use common logs, work directory and other configuration
file in the conf directory.

Thanx
Ganesh

-----Original Message-----
From: Peter Hrastnik [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 7:05 AM
To: [EMAIL PROTECTED]
Subject: Re: multiple instances of tomcat


It is possible: You must have two different server.xml files. In the
server.xml file you can configure that port in the http connector
element. You also need to have 2 startup-scripts that call tomcat with
the appropriate server.xml file. You don't need Apache to do this.

Bye,
        Peter.

-- 
Mag. Peter Hrastnik
tele.ring Telekom Service GmbH
A-1030 Wien, Hainburgerstr. 33
Tel.: +43/1/931012/3277, Mobil: +43/650/6503277


teh j wrote:
> 
> Hello all
> 
> I was just wondering whether it would be possible to
> have two different tomcat processes (running on
> different ports) simultaneously?
> 
> From looking at the 'Minimalistic Usres Guide' it
> seems this can be done with Apache, but can it be done
> with Tomcat as a standalond JSP server?
> 
> thanks!
> Jason
> 
>
____________________________________________________________________________
_
> http://store.yahoo.com.au - Yahoo! Store
> - It's time you had your business online!
<><><><><><><><><><><><><><><><><><><><><>This electronic mail transmission
may contain confidential information and is intended only for the person(s)
named.  Any use, copying or disclosure by any other person is strictly
prohibited.  If you have received this transmission in error, please notify
the sender via e-mail. <><><><><><><><><><><><><><><><><><><><><>

Reply via email to