We install different versions of tomcat like this:
/usr/local/java/tomcat-4.0.3
/usr/local/java/tomcat-4.1.10
For each site we have something like this:
/www/online/<site>
/log
dirctory for the log file
/conf
web.xml
server.xml
and other files that contain the site specific setup for tomcat
(tailored versions of the files that are provided by
tomcat)
make shure that the combination of IP and port are unique for
each instance of tomcat.
...
/work
Directory where tomcat stores the genared files and classes
/webapps
Directories for the contexts
/bin
start.sh
Script that calls the tomcat version that we want to use
for this site with the environment for this site:
JAVA_HOME=/usr/local/java/jdk/sun1.3.1
CATALINA_HOME=/usr/local/java/tomcat-4.0.3
CATALINA_BASE=/www/online/<site>
> -----Urspr�ngliche Nachricht-----
> Von: Ben Ricker [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 19. September 2002 23:58
> An: 'Tomcat Users List'
> Betreff: RE: two instances of tomcat (in diferent ports) on the same
> machi ne
>
>
> On Thu, 2002-09-19 at 14:52, Turner, John wrote:
> >
> > Yes, this is absolutely possible. I have 13 instances
> (Tomcat 3.1) running
> > on a single server at the moment.
> >
> > You will need a different server.xml for each, a different
> work directory
> > for each, and each must be on its own connector port
> (whichever connector
> > you choose to use). At least, that is how it is set up on
> my server.
> >
> > John
>
> How do you have multiple server.xmls? Do you use the same startup
> script? Did you use a specific How-To?
>
> Thanks,
>
> Ben Ricker
> Wellinx.com
>
> > > -----Original Message-----
> > > From: Christian J. Dechery [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, September 19, 2002 3:48 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: two instances of tomcat (in diferent ports) on the
> > > same machine
> > >
> > >
> > > How can I achieve this? Is it possible?
> > >
> > > .:| Christian J. Dechery
> > > .:| FINEP - Depto. de Sistemas
> > > .:| [EMAIL PROTECTED]
> > > .:| (21) 2555-0332
> > >
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>