tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: tow instances but one webapps : possible ?
Date Thu, 27 Aug 2009 18:22:25 GMT
On 08/27/2009 04:33 AM, Mark Thomas wrote:
> coucou78 coucou78 wrote:
>    
>> hello,
>>
>> Here we need to have two instances of Tomcat 5.0.30 running at the same time
>> (tomcat1 , tomcat2) , for sure on differents ports,
>> BUT those instances must have the same webapps folder.
>>
>> ../webapps : app1
>>                     app2
>>                     app3
>>                     app4
>>
>> tomcat1 should host app1 and 2
>> and tomcat 2 should host app3 and app4
>>      
>
> It is doable, but only if:
> - you set deployOnStartup and autoDeploy to false
> - you explicitly define each webapp with a Context element in server.xml
>    
or you can specify a context XML file  for each webapp, so you can still 
do auto deployment

Filip
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@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