There's various options for where you can define a context. From the top of the page I liked to before:

----------

In addition to nesting Context elements inside a Host element, you can also store them:

* in the individual $CATALINA_HOME/conf/context.xml file: the Context element information will be loaded by all webapps * in the individual $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml.default file: the Context element information will be loaded by all webapps of that host * in individual files (with a ".xml" extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory * if the previous file was not found for this application, in individual file at /META-INF/context.xml inside the application files

----------

So, for example, you can create a file /META-INF/context.xml in your webapp with something like the following in it:

----------

<Context path="/myapp" debug="0" privileged="true" reloadable="true">

</Context>

----------

L.


Mon Cab wrote:
Laurie & Paul

Thanks for your help on this one.  Is there any way
that this could be configured to just reload the
specific classes that were changed, rather than
reloading the whole app?

Also, I read the link you gave to "set context
reloadable to true", but couldn't quite see which file
I would set that in.  Would that be in web.xml?



--- Mon Cab <[EMAIL PROTECTED]> wrote:


Is there any way to avoid having to restart Tomcat
every time a class is recompiled in a webapp.   I am
debugging a webapp at the moment, and everytime I
recompile my Action class I am having to wait 1
minute
for Tomcat to restart.






                
__________________________________ Yahoo! FareChase: Search multiple travel sites in
one click.
http://farechase.yahoo.com



---------------------------------------------------------------------

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






                
__________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs


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

Reply via email to