Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 894BDDF4C for ; Wed, 16 Jan 2013 15:27:10 +0000 (UTC) Received: (qmail 24250 invoked by uid 500); 16 Jan 2013 15:27:07 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23991 invoked by uid 500); 16 Jan 2013 15:27:07 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 23969 invoked by uid 99); 16 Jan 2013 15:27:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2013 15:27:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pid@pidster.com designates 209.85.214.53 as permitted sender) Received: from [209.85.214.53] (HELO mail-bk0-f53.google.com) (209.85.214.53) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2013 15:26:58 +0000 Received: by mail-bk0-f53.google.com with SMTP id j5so761324bkw.26 for ; Wed, 16 Jan 2013 07:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pidster.com; s=google; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=wzDfgd/tCRaCLP8mVpE77IwdifD9w2sK+UbaBhdOoVo=; b=PkhI+gAsnljQgTXtmBh/Xhxghsfx578F0/v6Z4MljN/u+OD0VF4441migwcAMy56ey wTGuvpq09qVagPqMkJ9wG3cxqeqyzIW5AL356X6AMFjpcoQnRH9XCQE6O8OSw8p507p0 lUsKEhNYjxxLdZqmMb4cbEA1Hgd9jyclo6chk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=wzDfgd/tCRaCLP8mVpE77IwdifD9w2sK+UbaBhdOoVo=; b=XArFQ+tVI5VPbXQgvzTHtz6oKsKlsWWLtj6Iw+Oqcsw0ijVL61tJZFoyGrIc0z2F/z cFnfw8gvKhWSEUcL5IPsb2faUoqtNtf/RuoOuye4ss1cn9xO/X4XnNd4tmWWglWRgDVO aPT3zN0v0Zs+0roPXRt+VwazW7+0kqVkBTrnbWhrMmBrPN+Y+zIGb47Mn4ZFM3t1oqMj 58+hiDH/J5xwEP5gh22TTgRBlxunWc8EjfkadHNLl3It6FN8tc30RhdAAcck8EE6c6ma MU9WPFTGFr8JlN/XpHp0xidbqV/DfxHAdBIMOsAhdwW0HLiFNvCmoVGESHaYuEHTaxbY qtJg== X-Received: by 10.204.145.217 with SMTP id e25mr493285bkv.123.1358349997828; Wed, 16 Jan 2013 07:26:37 -0800 (PST) Received: from swilliams-mbp.local ([213.86.79.142]) by mx.google.com with ESMTPS id f24sm15870661bkv.7.2013.01.16.07.26.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jan 2013 07:26:36 -0800 (PST) Message-ID: <50F6C6AB.3070809@pidster.com> Date: Wed, 16 Jan 2013 15:26:35 +0000 From: Pid Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: docBase References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkz1ennbnGAZHHmxFiss9wLENSwo2sp3ZDJppSWhxqmdkCHej+vNJqJRW4emUHWOkEyxh6S X-Virus-Checked: Checked by ClamAV on apache.org 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 > > 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-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org