tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jane Muse" <>
Subject RE: Disable class monitoring for reloading container classes
Date Wed, 13 Oct 2010 21:41:29 GMT

Thanks for your persistence! I'll try to explain with examples.

We have a directory called COMPANY_NAME/tomcat that is CATALINA_BASE. 
I sent the contents of CATALINA_BASE/conf/context.xml in the email
We also have a COMPANY_NAME/APP_CONF_DIR that contains a /conf
directory, the APP_NAME.war file, and an APP_NAME.xml file. There is a
context element defined in the COMPANY_NAME/APP_CONF/DIR/app_name.xml
file with reloadable="false". This is the one I was changing. However it
turns out that we used this one as a placeholder in case the one in the
CATALINA_BASE/conf/[enginename]/[hostname]/app_name.xml got deleted.

We also have a context element in a place I hadn't seen before at:
CATALINA_BASE/conf/[enginename]/[hostname]/app_name.xml. This context
element had reloadable="true". I changed it to reloadable="false" and
restarted tomcat. Now the app does not get reloaded! Fixed. Thanks to


-----Original Message-----
From: Caldarale, Charles R [] 
Sent: Wednesday, October 13, 2010 12:57 PM
To: Tomcat Users List
Subject: RE: Disable class monitoring for reloading container classes

> From: Jane Muse []
> Subject: RE: Disable class monitoring for reloading container classes

> Here's my context.xml:
> <!-- WatchedResource>WEB-INF/web.xml</WatchedResource -->

That may not be illegal syntax for XML, but it certainly is confusing.
Better to do this:


> We are not defining our webapps context file in META-INF/context.xml.
> It is outside the CATALINA_BASE, in a separate directory that contains

> the War file, the context file and a conf directory for the webapp.

See below for your self-contradictory statement.

> Here's the contents of the <webapp>.xml file:

Which is located where?

>  ************Beginning of data************** <Context  
> docBase="<webapp_dir>>/>webapp>.war"
>  path="<webapp>"
>  reloadable="false">
> </Context>

That's even more confusing and definitely not valid syntax, as well as
having an illegal path attribute.

> "<webapp>" is the name of the webapp directory in 
> <catalina_base>/webapps/<webapp>.

So is your webapp in <catalina_base>/webapps or not?

 - Chuck

MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message