Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 87774 invoked from network); 19 Aug 2009 20:38:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 20:38:21 -0000 Received: (qmail 85315 invoked by uid 500); 19 Aug 2009 20:38:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 85231 invoked by uid 500); 19 Aug 2009 20:38:36 -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 85220 invoked by uid 99); 19 Aug 2009 20:38:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 20:38:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [67.195.15.182] (HELO web111010.mail.gq1.yahoo.com) (67.195.15.182) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 19 Aug 2009 20:38:25 +0000 Received: (qmail 76426 invoked by uid 60001); 19 Aug 2009 20:38:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250714283; bh=T40+nDasXCULYuFe9w/F6GaEXsLaPzU3k4rbBcMyB5c=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=lAenst1RZHIxNOV0jJ26HvIWBgNxllSh0zmQrFEG/N/ARa/bU2E31uqbLIMW/SW+tYgyoykU+QaRnemQihIRN13gz2U1Zqg/w1yFNdPdbnf9pydjH8HBryZr9NGWejldxUZxjSjHB9DXbFlco8TfJ8wFDLl8K38tKTX3RG3TlAQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PGbIUWPNZWwW5ebWbRpg5YRvG9sxAL6u4GVxzKmtYPuRrnOB97xMf6/oQYMuozd1OGRuVX/e7GZuEz6e0/WMUgxuCBqEbhPqMsgguWlaIO3hMAKaZPCgkCmBuaMsfp2WtcsN0xAqUL6p9ZyA5y6geU1oWIzgCNNRAUHWEvGPflQ=; Message-ID: <539722.75037.qm@web111010.mail.gq1.yahoo.com> X-YMail-OSG: fQMkYgUVM1lE2NEDxyMFTNJTgxF6CkEIuTYj8J6EbsYVqPhkGPTXEmutAkvbXQolXIFehzABeAtZGeTF4pK4ZDwbnizh73QKfGZBUv752yXslDVDjHWAj04kRdxBVoRE.d6uOtvT.okYkUyCUsLzwEKP2c.9kRCI2Lb1iNz5elhkebGPcLUSR5cUO8bJ04Jq7nzHti0XzAchuakvNAQzyha9ZOHee3TZ6UTuMVXX1ov.OivIse8R5KDZqDystEaAxA4fzJGWNNgzclR7OBkJRpOYy65lzZIofp2SW4uI1tEdaCKdSrC6.A-- Received: from [128.107.241.169] by web111010.mail.gq1.yahoo.com via HTTP; Wed, 19 Aug 2009 13:38:03 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.1 Date: Wed, 19 Aug 2009 13:38:03 -0700 (PDT) From: Roger Powers Subject: Re: Problem with respecting docBase in context file in TC 6.0.20? To: Tomcat Users List In-Reply-To: <102929.75197.qm@web111003.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org I also tried renaming /usr/tomcat/conf/Catalina/localhost/t.xml to /usr/tomcat/conf/Catalina/localhost/a.xml and now no exception is thrown, and I see via tomcat manager that context /a is created, but whenever I try to access any pages under /t I get error 404. --- On Wed, 8/19/09, Roger Powers wrote: > From: Roger Powers > Subject: Problem with respecting docBase in context file in TC 6.0.20? > To: users@tomcat.apache.org > Date: Wednesday, August 19, 2009, 3:19 PM > Problem: > > 1) /usr/tomcat/conf/Catalina/localhost/t.xml has: > > > 2) /usr/tomcat/webapps/a exists. > > 3) /usr/tomcat/webapps/t does not exist. > > 4) When tomcat starts, > org.apache.catalina.core.StandardContext:resourcesStart() > throws > java.lang.IllegalArgumentException: Document base > /usr/tomcat/webapps/t does not exist or is not a readable > directory > > Since I never gave it a docBase of /usr/tomcat/webapps/t, I > presume > the problem is that it expects one due to the presense of > /usr/tomcat/conf/catalina/localhost/t.xml ? > > How can I get it to not make such a presumption, and look > at the docBase > in the t.xml file? > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org