On Fri, 14 Dec 2001 [EMAIL PROTECTED] wrote:
> Date: Fri, 14 Dec 2001 14:29:43 +0530
> From: [EMAIL PROTECTED]
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Query: Reloadable
>
> What shall I do if I have to make my Tomcat 4.1 autoreloadable. i.e.
> it should reload the app whenever there is change in .class files.
> This is a development server not a production server. Around 50 apps r
> there and I don't want to use manager app.
>
Put a <Context> element in your server.xml file, with reloadable="true"
inside. Note that this only works on classes loaded from /WEB-INF/classes
or /WEB-INF/lib.
You might also want to shorten the timeout at which Tomcat checks for
updated classes (default is 15 seconds):
<Context path="..." docBase="..." reloadable="true">
<Loader checkInterval="5"/>
</Context>
For more info on server.xml configuration settings, see the Server
Configuration Reference in the docs shipped with Tomcat, or available
online at:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/
> Thanks in Advance
>
> Shekhar
>
Craig
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>