I'm gonna let Peter Rossbach give you the final answer since he developed the "simple"config concept. My guess is yes, if your hosts have webapps with the same names, they will most likely get mixed up.

my suggestion to try would be
<Host name="test1.example.com" appBase="webapps" autoDeploy="false" >
  <Context docBase="/home/ronald/tmp/HEAD/crm/web" path="" />
  <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
           service.domain="vhost1"/>
</Host>

<Host name="test2.example.com" appBase="webapps" autoDeploy="false" >
   <Context docBase="/home/ronald/tmp/VERSIE_2_1/crm/web" path="" />
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" service.domain="vhost2"/>
</Host>

and that should stop the data from flowing between vhosts

Filip


Ronald Klop wrote:
Hello,

I have this in my server.xml.

<Host name="test1.example.com" appBase="webapps" autoDeploy="false" >
       <Context docBase="/home/ronald/tmp/HEAD/crm/web" path="" />
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"/>
     </Host>

<Host name="test2.example.com" appBase="webapps" autoDeploy="false" >
       <Context docBase="/home/ronald/tmp/VERSIE_2_1/crm/web" path="" />
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"/>
     </Host>

This seems to work. The sessions aren't mixed up between de hosts. Is this supported behaviour? Or is there a change the sessions wil mix up?

Ronald.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to