I recently upgraded from Tomcat 6.0.18 to 6.0.20 (using jdk1.6.0_14 on
Solaris 10). I have a webapp that stores its database configuration in
the context xml file (/private/tomcat/conf/Catalina/localhost/devl.xml).
Periodically, I must update the context xml file when the database
password has been changed.
When I was running 6.0.18 and earlier, a few seconds after I modified the
context xml file, Tomcat would redeploy the webapp and log the following:
Oct 15, 2009 12:27:08 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/devl]
and the webapp would continue running.
After I upgraded to 6.0.20, modifying the context xml file triggers a
redeploy that fails with the following logs:
Oct 15, 2009 1:10:50 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/devl]
Oct 15, 2009 1:10:50 PM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /private/apache-tomcat-6.0.20/webapps/NolijDocServer inside
the host appBase has been specified, and will be ignored
Oct 15, 2009 1:10:50 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base
/private/apache-tomcat-6.0.20/webapps/devl does not exist or is not a readable
directory
at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1274)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:296)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Oct 15, 2009 1:10:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Oct 15, 2009 1:10:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Oct 15, 2009 1:10:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/devl] startup failed due to previous errors
Oct 15, 2009 1:10:50 PM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/devl] has not
been started
and the /devl directory and devl.war file are gone.
I'm not an experienced Tomcat user, so maybe I have something
misconfigured and a recent change is exposing it?
Please let me know if I can provide any additional information.
Thanks!
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org