I can just say how we have done it with tomcat 4 under linux/unix:
Although we have a setup that uses one instance per website
it should give you a start how to achieve what you want.
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
/usr/local/java/tomcat-4.1.8
/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: Stickland, Michael G [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 2:04 AM
> To: '[EMAIL PROTECTED]'
> Subject: Can Tomcat 3.3 support multiple versions of the JVM
> simultaneousl y?
>
>
> I would like to configure Tomcat 3.3 so that some contexts
> use jdk1.3.1 and others use j2sdk1.4.1.
<snip/>
> Does anyone know if this can be done? Can anyone
> explain how
> Tomcat 3.3 (or 4.x) can be configured to accomplish this?
> Does anyone have an example of this kind of configuration?
>
<snip/>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>