java.lang.IllegalArgumentException: Document base /usr/share/tomcat/webapps/myapp does not exist or is not a readable directory

Server Fault | user53864 | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    load balancing - Tomcat Cluster Farm Deployer issue - Server Fault

    serverfault.com | 10 months ago
    java.lang.IllegalArgumentException: Document base /usr/share/tomcat/webapps/myapp does not exist or is not a readable directory
  2. 0

    Tomcat Cluster Farm Deployer issue

    Server Fault | 6 years ago | user53864
    java.lang.IllegalArgumentException: Document base /usr/share/tomcat/webapps/myapp does not exist or is not a readable directory
  3. 0

    java.lang.IllegalArgumentException: Document base

    Stack Overflow | 6 years ago | Kenrich
    java.lang.IllegalArgumentException: Document base D:\wokespace9.0\IceDemo\WebRoot does not exist or is not a readable directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    importing dynamic web project in eclipse ?

    Stack Overflow | 5 years ago | Hossein Boka
    java.lang.IllegalArgumentException: Document base C:\Eclipse\Workspaces\Wsp2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Wp1 does not exist or is not a readable directory
  6. 0

    eclipse run maven project : java.lang.IllegalArgumentException:

    Stack Overflow | 4 years ago | huang
    java.lang.IllegalArgumentException: Document base E:\calypso-dev-package\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\BookSys does not exist or is not a readable directory
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Document base /usr/share/tomcat/webapps/myapp does not exist or is not a readable directory

    at org.apache.naming.resources.FileDirContext.setDocBase()
  2. Web Container Naming Utilities
    FileDirContext.setDocBase
    1. org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:141)
    1 frame
  3. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3957)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4126)
    3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    4. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    7. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    8. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    9. org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    9 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    2 frames