Skip to main content

GRAVE: Error starting static Resources java.lang.IllegalArgumentException

1 reply [Last post]
alexjava2008
Offline
Joined: 2008-04-09
Points: 0

I have deleted this project outside netbeans.
How can resolve this problem?

<br />
org.apache.catalina.core.StandardContext resourcesStart<br />
GRAVE: Error starting static Resources<br />
java.lang.IllegalArgumentException: Document base /dati/java/sviluppo/HelloAjax/build/web does not exist or is not a readable directory<br />
        at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:141)<br />
        at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3944)<br />
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4113)<br />
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)<br />
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)<br />
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)<br />
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)<br />
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)<br />
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)<br />
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)<br />
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)<br />
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)<br />
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)<br />
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)<br />
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)<br />
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)<br />
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)<br />
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)<br />
        at org.apache.catalina.startup.Catalina.start(Catalina.java:566)<br />
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
        at java.lang.reflect.Method.invoke(Method.java:597)<br />
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)<br />
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)<br />
14-apr-2008 20.43.36 org.apache.catalina.core.StandardContext start<br />
GRAVE: Error in resourceStart()<br />
14-apr-2008 20.43.36 org.apache.catalina.core.StandardContext start<br />
GRAVE: Error getConfigured<br />
14-apr-2008 20.43.36 org.apache.catalina.core.StandardContext start<br />
GRAVE: Context [/HelloAjax] startup failed due to previous errors<br />

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexjava2008
Offline
Joined: 2008-04-09
Points: 0

To solve the problem seems sufficient delete the file:
...\Apache-tomcat-6.0.14_base/conf/HelloAjax.xml

Bye