Hello all,
Im trying to disable the automatic context reloading that happens every 10 seconds (preferably just for one specific webapp, but failing that then for all).
Code:
DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.startup.HostConfig - Checking context[/tests] redeploy resource C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\tests.xml
DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.startup.HostConfig - Checking context[/tests] redeploy resource C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\tests.xml
DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.startup.HostConfig - Checking context[/tests] redeploy resource \\10.10.101.11\logfiles\tests
DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.startup.HostConfig - Checking context[/tests] redeploy resource \\10.10.101.11\logfiles\tests
DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.startup.HostConfig - Checking context[/tests] reload resource C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\tests.xml
DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.startup.HostConfig - Checking context[/tests] reload resource C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\tests.xml
DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.startup.HostConfig - Checking context[/tests] reload resource C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\web.xml
DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.startup.HostConfig - Checking context[/tests] reload resource C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\web.xml
(sorry if that's hard to read)
I have tried putting
in all the relevant xml files but it seems to ignore it completely.
XML files:
Tomcat 6.0\conf\Catalina\localhost\tests.xml
and Tomcat 6.0\webapps\tests\WEB-INF\web.xml
Code:
<Context override="true" reloadable="false" docBase="//10.10.101.11/logfiles/tests" />
To try and stop it completely I put similar to the above in the xml files in Tomcat 6.0/conf (web,server,context.xml).
Is there something i'm missing or doing wrong?
Thanks in advance for any help
EDIT:
I have just found out the following in server.xml
Code:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
which explains why I couldnt turn it off for all contexts. I am still confused on how to turn it off for just one specific context though