We run two tomcats on WinNT.
- Make Two tomcat directory trees e.g. Tomcat1, Tomcat2.
- in each tomcat.bat set a specific TOMCAT_HOME directly
e.g. set TOMCAT_HOME=D:\Tomcat1
set TOMCAT_HOME=D:\Tomcat2
instead of using a predefined System var TOMCAT_HOME.
- modify each server.xml for the specific port.
If you start tomcat as a NT service you have to
modify in each wrapper.properties
the var 'wrapper.tomcat_home' analogously
Good luck,
Wolfgang Stein
> -----Original Message-----
> From: Peter Hrastnik [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 04, 2001 4:05 PM
> 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!
>