java.lang.IllegalArgumentException: Document base /app/apache-tomcat/webapps/host-manager does not exist or is not a readable directory

Jenkins JIRA | SUNIJ khatri | 1 year 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

    I upgraded Jenkins from version 1.590 to to 1.6.0.9.3 on Red 6.2 ( Santiago) was fine but after when i went to upgrade the plugins (manage Jenkins -> Manage Plugins - Updates ) i started getting error I have the following Java: setting *Using CATALINA_BASE: /app/apache-tomcat Using CATALINA_HOME: /app/apache-tomcat Using CATALINA_TMPDIR: /app/apache-tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.b14.x86_64/jre Using CLASSPATH: /app/apache-tomcat/bin/bootstrap.jar* Here is the error message from Catalina.out Sep 22, 2015 6:21:26 PM org.apache.catalina.core.StandardContext start SEVERE: Error in resourceStart() Sep 22, 2015 6:21:26 PM org.apache.catalina.core.StandardContext start SEVERE: Error getConfigured Sep 22, 2015 6:21:26 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/manager] startup failed due to previous errors Sep 22, 2015 6:21:26 PM org.apache.catalina.core.StandardContext stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] has not been started Sep 22, 2015 6:21:26 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml Sep 22, 2015 6:21:26 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /app/apache-tomcat/webapps/host-manager 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:4324) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4493) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

    Jenkins JIRA | 1 year ago | SUNIJ khatri
    java.lang.IllegalArgumentException: Document base /app/apache-tomcat/webapps/host-manager does not exist or is not a readable directory
  2. 0

    I upgraded Jenkins from version 1.590 to to 1.6.0.9.3 on Red 6.2 ( Santiago) was fine but after when i went to upgrade the plugins (manage Jenkins -> Manage Plugins - Updates ) i started getting error I have the following Java: setting *Using CATALINA_BASE: /app/apache-tomcat Using CATALINA_HOME: /app/apache-tomcat Using CATALINA_TMPDIR: /app/apache-tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.b14.x86_64/jre Using CLASSPATH: /app/apache-tomcat/bin/bootstrap.jar* Here is the error message from Catalina.out Sep 22, 2015 6:21:26 PM org.apache.catalina.core.StandardContext start SEVERE: Error in resourceStart() Sep 22, 2015 6:21:26 PM org.apache.catalina.core.StandardContext start SEVERE: Error getConfigured Sep 22, 2015 6:21:26 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/manager] startup failed due to previous errors Sep 22, 2015 6:21:26 PM org.apache.catalina.core.StandardContext stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] has not been started Sep 22, 2015 6:21:26 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml Sep 22, 2015 6:21:26 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /app/apache-tomcat/webapps/host-manager 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:4324) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4493) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

    Jenkins JIRA | 1 year ago | SUNIJ khatri
    java.lang.IllegalArgumentException: Document base /app/apache-tomcat/webapps/host-manager does not exist or is not a readable directory
  3. 0

    java.lang.IllegalArgumentException: Document base

    Stack Overflow | 5 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

  1. treefolk 2 times, last 2 months ago
  2. Tahir 1 times, last 4 months ago
  3. linxiaolong 4 times, last 2 months ago
  4. jedcua 2 times, last 7 months ago
  5. Kawada 53 times, last 8 months ago
1 more registered users
10 unregistered visitors
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 /app/apache-tomcat/webapps/host-manager 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:142)
    1 frame
  3. Glassfish Core
    LifecycleSupport.fireLifecycleEvent
    1. org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4324)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4493)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
    6. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
    7. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
    10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    11 frames