SEVERE: Error starting static Resources in Tomcat server console -
long time , have deployed dwr webapp example , got net . ran issues , , deleted war file webapps , temp , localhost folders still getting these errrors under tomcat console while starting server
info: initialization processed in 795 ms mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardservice start info: starting service catalina mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardengine start info: starting servlet engine: apache tomcat/6.0.33 mar 7, 2012 5:31:25 pm org.apache.catalina.startup.hostconfig deploydescriptor info: deploying configuration descriptor dwr.xml mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardcontext resourcesstart severe: error starting static resources java.lang.illegalargumentexception: document base c:\softwares\apache-tomcat-6.0.33\webapps\dwr not exist or not readable directory @ org.apache.naming.resources.filedircontext.setdocbase(filedircontext.java:142) @ org.apache.catalina.core.standardcontext.resourcesstart(standardcontext.java:4320) @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4489) @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:799) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:779) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:601) @ org.apache.catalina.startup.hostconfig.deploydescriptor(hostconfig.java:675) @ org.apache.catalina.startup.hostconfig.deploydescriptors(hostconfig.java:601) @ org.apache.catalina.startup.hostconfig.deployapps(hostconfig.java:502) @ org.apache.catalina.startup.hostconfig.start(hostconfig.java:1317) @ org.apache.catalina.startup.hostconfig.lifecycleevent(hostconfig.java:324) @ org.apache.catalina.util.lifecyclesupport.firelifecycleevent(lifecyclesupport.java:142) @ org.apache.catalina.core.containerbase.start(containerbase.java:1065) @ org.apache.catalina.core.standardhost.start(standardhost.java:840) @ org.apache.catalina.core.containerbase.start(containerbase.java:1057) @ org.apache.catalina.core.standardengine.start(standardengine.java:463) @ org.apache.catalina.core.standardservice.start(standardservice.java:525) @ org.apache.catalina.core.standardserver.start(standardserver.java:754) @ org.apache.catalina.startup.catalina.start(catalina.java:595) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.apache.catalina.startup.bootstrap.start(bootstrap.java:289) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:414) mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardcontext start severe: error in resourcestart() mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardcontext start severe: error getconfigured mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardcontext start severe: context [/dwr] startup failed due previous errors mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardcontext stop info: container org.apache.catalina.core.containerbase.[catalina].[localhost].[/dwr] has not been started mar 7, 2012 5:31:25 pm org.apache.catalina.startup.hostconfig deploydescriptor info: deploying configuration descriptor dwrexample.xml mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardcontext resourcesstart severe: error starting static resources java.lang.illegalargumentexception: document base c:\softwares\apache-tomcat-6.0.33\webapps\dwrexample not exist or not readable directory @ org.apache.naming.resources.filedircontext.setdocbase(filedircontext.java:142) @ org.apache.catalina.core.standardcontext.resourcesstart(standardcontext.java:4320) @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4489) @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:799) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:779) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:601) @ org.apache.catalina.startup.hostconfig.deploydescriptor(hostconfig.java:675) @ org.apache.catalina.startup.hostconfig.deploydescriptors(hostconfig.java:601) @ org.apache.catalina.startup.hostconfig.deployapps(hostconfig.java:502) @ org.apache.catalina.startup.hostconfig.start(hostconfig.java:1317) @ org.apache.catalina.startup.hostconfig.lifecycleevent(hostconfig.java:324) @ org.apache.catalina.util.lifecyclesupport.firelifecycleevent(lifecyclesupport.java:142) @ org.apache.catalina.core.containerbase.start(containerbase.java:1065) @ org.apache.catalina.core.standardhost.start(standardhost.java:840) @ org.apache.catalina.core.containerbase.start(containerbase.java:1057) @ org.apache.catalina.core.standardengine.start(standardengine.java:463) @ org.apache.catalina.core.standardservice.start(standardservice.java:525) @ org.apache.catalina.core.standardserver.start(standardserver.java:754) @ org.apache.catalina.startup.catalina.start(catalina.java:595) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.apache.catalina.startup.bootstrap.start(bootstrap.java:289) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:414) mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardcontext start severe: error in resourcestart() mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardcontext start severe: error getconfigured mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardcontext start severe: context [/dwrexample] startup failed due previous errors mar 7, 2012 5:31:25 pm org.apache.catalina.core.standardcontext stop info: container org.apache.catalina.core.containerbase.[catalina].[localhost].[/dwrexample] has not been started mar 7, 2012 5:31:25 pm org.apache.catalina.startup.hostconfig deploydescriptor info: deploying configuration descriptor host-manager.xml
i ran similar after deleting web app, work directory, , temp directory , seeing same kind of error.
the first info
statement before severe
item logged indicates there remnant of deleted webapp remains configuration item.
i able find xml file nested somewhere inside conf (conf/catalina/localhost
) had xml file associated deleted web app , when deleted it, error went away.
Comments
Post a Comment