On 1/11/2013 3:24 PM, Leo Donahue - RDSA IT wrote:
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.
I assume you mean a user that you have set up, and not the "local
system" account?
I believe (not sure) that to access the administrative share, the user
has to have admin privileges on the machine hosting the share you want
to access.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]