My 10th (or so) repost to this topic:
First:
Have a look at RUNNING.txt in the tomcat distribution:
(4) Advanced Configuration - Multiple Tomcat 4 Instances
...
Second:
Although the following is for unix and tomcat standalone, this
should give you the right direction. We have a structure like
this:
/usr/local/java/jdk/ibm1.3
/usr/local/java/jdk/sun1.3
/usr/local/java/jdk/sun1.3.1
/usr/local/java/jdk/sun1.4
/usr/local/java/tomcat-4.0.3
/usr/local/java/tomcat-4.0.4
/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 generated files and classes
/webapps
Directories for the contexts
/bin
start.sh
Script that calls the tomcat 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>
export JAVA_HOME CATALINA_HOME CATALINA_BASE
${CATALINA_HOME}/bin/startup.sh
This way we can have different versions of tomcat at the same time,
all sites that use the same tomcat version use the same 'executable'
but different processes and individual configuration. If we want to
use an other version of tomcat we just have to change CATALINA_HOME
in start.sh (unless the config files are incompatible between these
versions)
> -----Original Message-----
> From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 11, 2002 2:10 PM
> To: Tomcat Users List
> Subject: Two Instances
>
>
> Hi all,
> can I have two instances of Tomcat installed in one machine
> and both the
> servers should be running.
> we need to change the port for once instance of tomcat as
> 9090 instead of
> 8080 so taht both tomcat will listen at different port.....
> is this possible.
> My doubts may be silly but since I am novice to tomcat I am
> facing lots of
> problems.....if irritated sorry
> thanks
> laxmikanth
>
> *********************************************************************
> Disclaimer: The information in this e-mail and any attachments is
> confidential / privileged. It is intended solely for the addressee or
> addressees. If you are not the addressee indicated in this
> message, you may
> not copy or deliver this message to anyone. In such case, you
> should destroy
> this message and kindly notify the sender by reply email.
> Please advise
> immediately if you or your employer does not consent to
> Internet email for
> messages of this kind.
> *********************************************************************
>
> --
> 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]>