nohacks
asked on
Tomcat 6 Error Deployment - java.lang.IllegalArgumentException: Document base
Hi All,
I have a Tomcat 6 Error Deployment - java.lang.IllegalArgumentE
My app was running fine when I deployed it to Tomcat as myApp.war.
I wanted to run it as ROOT.war. It still works fine. BUT...
I am getting this error in my catalina.out file.
The strange is that the application is running fine?
Thanks
Phil
Feb 15, 2009 3:33:38 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /opt/apache-tomcat-6.0.18/webapps/myApp does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:141)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3957)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4126)
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:525)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Works great
ASKER
I will get back to you asap.
Phil