java.lang.IllegalArgumentException

Document base /usr/share/tomcat7-docs/docs does not exist or is not a readable directory

Solutions on the web20755

  • Document base /usr/share/tomcat7-docs/docs does not exist or is not a readable directory
  • Document base /usr/share/tomcat7/webapps/ROOT does not exist or is not a readable directory
  • Document base /usr/share/tomcat7/webapps/app.com does not exist or is not a readable directory
  • Stack trace

    • java.lang.IllegalArgumentException: Document base /usr/share/tomcat7-docs/docs does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4894) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5074) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1581) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    13 times, 2 months ago
    2 times, 3 months ago
    2 times, 6 months ago
    Unknown user
    Once, 9 months ago
    Once, 9 months ago
    12 more bugmates