tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <>
Subject Re: docBase
Date Wed, 16 Jan 2013 15:26:35 GMT
On 11/01/2013 20:24, 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?

Yes.  But I would not encourage it.  2nd only to NFS for causing random

Unless you have a massive number of images totalling large amounts of
data, it would be better to arrange a periodic sync job to copy images
across to each node.


> 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(
>                 at org.apache.catalina.core.StandardContext.resourcesStart(
>                 at org.apache.catalina.core.StandardContext.startInternal(
>                 at org.apache.catalina.util.LifecycleBase.start(
>                 at org.apache.catalina.core.ContainerBase.addChildInternal(
>                 at org.apache.catalina.core.ContainerBase.addChild(
>                 at org.apache.catalina.core.StandardHost.addChild(
>                 at org.apache.catalina.startup.HostConfig.deployDescriptor(
>                 at org.apache.catalina.startup.HostConfig$
>                 at java.util.concurrent.Executors$
>                 at java.util.concurrent.FutureTask$Sync.innerRun(
>                 at
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>                 at java.util.concurrent.ThreadPoolExecutor$
>                 at
> Leo



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message