On 4/27/07, Josh Joy <[EMAIL PROTECTED]> wrote:
Hi Rashmi,
I'm confused...so in tomcat 6.0 it reloads if it
detects a change at the
root /WEB-INF rather than solely /WEB-INF/classes or
/WEB-INF/lib ?
Hi Josh,
reloadable is an attributed on the <Context> node of your web application.
The basic concept is that each web application corresponds to one
Context and is located under a Host.
So for your application there has to be a corresponding Context node
either in server.xml or as {ApplicaitonName}.xml file under
TomcatFolder/conf/[Engine]/[Host]/
Please locate the Context of your application (depending on where you
configured it), and add the attribute reloadable="true" to it.
Re-start Tomcat just one time, after that whenever you re-compile your
classes or make changes to the JAR files under /WEB-INF/ , Tomcat will
automatically re-load.
It would be helpful to know which version of Tomcat you're using as
some attributes are not supported in certain older versions of Tomcat.
But for the sake of reference I assumed the latest version.
Hope this helps.
-Rashmi
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]