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 errors. 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. p > 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 > > > -- [key:62590808] --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org