Hi Raja,

The default behaviour setting for the class reloading is a touch
on the slow side, so include a <Loader> in the <Context> that
looks like this one:

<Context path="/myapp" docBase="myapp" reloadable="true">
	<Loader
		className="org.apache.catalina.loader.WebappLoader"
		loaderClass="org.apache.catalina.loader.WebappClassLoader"
		checkInterval="1"  />
</Context>

And you'll find that it will now check every second, rather than
the default 15 seconds.

Cheers,
	-- jon

Raja Nasrallah wrote:
Hello,
I set the attribute reloadable to true in a sample context tag(<Context>
in the sever.xml) to monitor the the "WEB-INF/classes".
But it didn't affect. I make change in a sample class and the server
don't load this class again.
I am using jakarta-tomcat-4.0.6 in winow2000 server.
Should I have to do other setting to make the reloadable work.
Thanks,
raja

--
Jon Eaves <[EMAIL PROTECTED]>
http://www.eaves.org/jon/


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

Reply via email to