As long as you just need one version of tomcat I recommend
to install one tomcat with serveral instances.
As I can't find my own post in the archive (gives alway to
many or to few results) here's the repost of my last mail:
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>
Ralph Einfeldt
Uptime Internet Solution Center GmbH
Hamburg, Germany
Hosting, Content Management, Java Consulting
http://www.uptime-isc.de
> -----Urspr�ngliche Nachricht-----
> Von: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 1. Oktober 2002 17:05
> An: [EMAIL PROTECTED]
> Betreff: WHICH IS THE BEST WAY TO HAVE MULTIPLE TOMCAT SERVERS?
>
>
> The options:
> 1) have only one tomcat running on the RH73 and well...shout:
> "shut down tomcat!!" (we don't like this option ;) ).
> 2) have 3 tomcats on the same machine and each of us using
> one of them.
> 3) have 1 tomcat and start it on 3 different ports (how can
> we do that?).
> 4) I heared about "zones" on tomcat that we can start and stop
> separately...(I'm not sure).
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>