Here's my context.xml: ************Beginning of data**************
<?xml version='1.0' encoding='utf-8'?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- The contents of this file will be loaded for each web application --> <Context> <!-- Default set of monitored resources --> <!-- WatchedResource>WEB-INF/web.xml</WatchedResource --> <!-- Uncomment this to disable session persistence across Tomcat restarts --> <!-- <Manager pathname="" /> --> <!-- Uncomment this to enable Comet connection tacking (provides events on session expiration as well as webapp lifecycle) --> <!-- <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" /> --> </Context> _____________ 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. Here's the contents of the <webapp>.xml file: ************Beginning of data************** <Context docBase="<webapp_dir>>/>webapp>.war" path="<webapp>" reloadable="false"> </Context> _________________________ "<webapp>" is the name of the webapp directory in <catalina_base>/webapps/<webapp>. Jane ************End of Data******************** -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, October 13, 2010 11:26 AM To: Tomcat Users List Subject: Re: Disable class monitoring for reloading container classes -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jane, On 10/13/2010 1:51 PM, Jane Muse wrote: > I found that reloadable="false" does not suppress tomcat from watching > if files change in WEB-INF/lib, even though the docs say it does: Please log a bug. Note that bugs logged against old versions of Tomcat (6.0.18 is over two years old) are often met with "upgrade to latest, then retest" instructions. Upgrading would certainly be a good idea in general. > Can I safely say I've run into both an IBM and a tomcat bug? I'm not convinced that either are true, honestly. There are plenty of explanations that do not require either your OS or Tomcat to have a bug. > I'm on > tomcat 6.0.18 and I've searched the 6.0.29 change logs, didn't see > anything for this issue that's been fixed. We run in production on 5.5.x and 6.0.x both with default "reloadable" values (that is, "false") and changes to files in WEB-INF/classes and WEB-INF/lib do not trigger automatic reloads. My experience leads me to believe that Tomcat works properly and that your configuration is somehow broken. Can you post your TOMCAT_HOME/conf/context.xml file as well as your webapp's META-INF/context.xml file? Take care to remove sensitive information, particularly from the latter. Thanks, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAky1+a8ACgkQ9CaO5/Lv0PAVswCfaSG12tBF+pILKASF6TKMQatf XvcAoL13iNq5KfXdTljWjAxg6TAl9Hns =k6mc -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org