tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: reloading, 5.0, context.xml
Date Fri, 03 Dec 2004 11:29:00 GMT
You should do this ...

Create a file called mywebapp.xml (matching your webapp's name of course) and whack it in

tomcat/conf/Catalina/localhost

In that file

<Context path="" docBase="/mywebapp" reloadable="true" />

Note this is for 5.0.x NOT 5.5.x which removes the path attribute.

Restart.

> -----Original Message-----
> From: Christoph Kukulies [mailto:kuku@www.kukulies.org]
> Sent: 03 December 2004 11:21
> To: tomcat-user@jakarta.apache.org
> Subject: reloading, 5.0, context.xml
> 
> 
> 
> I'm running a 5.0 of some vintage. I'm currently in a developing phase
> where I need reloading. It is cumbersome to restart the server for 
> every little source change.
> 
> I've read through the archived messages and find that 
> reloading = false
> is the default in 5.x. And that one had to set reloadable=true
> in context.xml.
> 
> Seems like there was no context.xml with the 5.0 release I got.
> 
> Where should I put the statement?
> Should I create a context.xml? Should I do it in server.xml?
> Or in the respective web.xml?
> 
> Also in this phase I don't want to do an upgrade to anything
> current.
> 
> So I need a quick help how to enable reloading.
> 
> Thank you.
> 
> --
> Chris Christoph P. U. Kukulies kuku_at_kukulies.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message