We are using 5.0.28 and we are using context deployment files.

On Thu, 2005-09-22 at 15:23 -0300, Ritchie Gillam wrote:
> Are you are using Tomcat 5.5.X?  If so it is not recommended to put any 
> Context in the server.xml file but instead in the application's 
> META-INF/context.xml file.   
> 
> One of the problems we had was by putting the <Context> tag in server.xml 
> itself we couldn't redeploy an application without restarting Tomcat every 
> time and of course in a production environment this is not desirable.
> 
> 
> 
> Ritchie Gillam
> Programmer Analyst, Information Services, Halifax Regional Municipality
> Email: [EMAIL PROTECTED]
> Phone: (902) 490-6167
> Fax: (902) 490-6583
> 
> >>> [EMAIL PROTECTED] 09/22/05 3:14 pm >>>
> Hi,
> 
> I want to deploy the same webapp under two different URIs. I created two
> context descriptors like this:
> 
> <Context path="/a" docBase="/home/user/myapp" debug="0"
> privileged="false">
>     <Logger className="org.apache.catalina.logger.FileLogger"
> prefix="a." suffix=".txt"
>         timestamp="true"/>
> </Context>
> 
> <Context path="/b" docBase="/home/user/myapp" debug="0"
> privileged="false">
>     <Logger className="org.apache.catalina.logger.FileLogger"
> prefix="b." suffix=".txt"
>         timestamp="true"/>
> </Context>
> 
> Everything seems to work fine, I just want to make sure that this is the
> right thing to do. Are there any unwanted consequences bu doing this? Or
> is there even a better way for achieving this (without using Apache) ?
> 
> Thanks,
> Carsten
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to