tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Donahue - RDSA IT <LeoDona...@mail.maricopa.gov>
Subject docBase
Date Fri, 11 Jan 2013 20:24:15 GMT
Tomcat 7.0.34
Java 1.6.0_35

Can the document base of a context be an administrative share?

Ex: \\servername\share$\somedirectory<file:///\\servername\share$\somedirectory>

I run tomcat as a service using a local account on webserver1, that same local account has
read access to the administrative share (checked the passwords to make sure they were the
same), but I'm getting an illegalArgumentException in the logs.  The local account has share
access and permissions on the \\servername\share$ root directory.

SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base \\servername\share$\somedirectory does not
exist or is not a readable directory
                at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
                at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4906)
                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5086)
                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
                at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
                at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                at java.lang.Thread.run(Thread.java:662)
Leo



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message