tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dehmlow <dehml...@gmail.com>
Subject JVM per Context
Date Wed, 10 Sep 2008 16:10:41 GMT

I have multiple contexts that are defined for a given host in my server.xml
each context I would like to start up in its own jvm, for dll and
enviornment variable reasons.
Here's an example of my server.xml:

<Host name="localhost" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

       	 <Context path="/eclipse/A"     docBase="/eclipsev1">
   	    <!--I want to load dllv1.dll-->
   	    <!--I want to set the env var 'slot' to ''A'-->
   	    <Parameter name="com.dev.myParm" value="eclipse/A"
override="false"/>
         </Context>

       	 <Context path="/eclipse/B"     docBase="/eclipsev2">
   	    <!--I want to load dllv2.dll-->
   	    <!--I want to set the env var 'slot' to 'B'-->
   	    <Parameter name="com.dev.myParm" value="eclipse/B"
override="false"/>
         </Context>
</host>

I've read documentation for tomcat 3.4 that details the use of ajp for
communication to achieve this but can't find anything about jvms docs.

Thanks for any help,
Mike
 
-- 
View this message in context: http://www.nabble.com/JVM-per-Context-tp19414891p19414891.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message