Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 48800 invoked from network); 25 May 2006 22:04:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2006 22:04:39 -0000 Received: (qmail 98837 invoked by uid 500); 25 May 2006 22:04:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 98821 invoked by uid 500); 25 May 2006 22:04:26 -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 98810 invoked by uid 99); 25 May 2006 22:04:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 15:04:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [65.32.5.136] (HELO ms-smtp-06.tampabay.rr.com) (65.32.5.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 15:04:25 -0700 Received: from csunvadmin (34.14.205.68.cfl.res.rr.com [68.205.14.34]) by ms-smtp-06.tampabay.rr.com (8.13.6/8.13.6) with SMTP id k4PM41YH005353 for ; Thu, 25 May 2006 18:04:03 -0400 (EDT) From: "Allen Williams" To: "Tomcat Users List" Subject: RE: More (Unending) "Resource Not Found"/ Directory Problems Date: Thu, 25 May 2006 18:04:05 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: <1148592128.4476200083748@aragorntools.webappcabaret.net> Importance: Normal X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yeah, I fixed that. That error is no longer in the logs. > -----Original Message----- > From: Jay Burgess [mailto:lists@vtgroup.com] > Sent: Thursday, May 25, 2006 5:22 PM > To: users@tomcat.apache.org > Subject: RE: More (Unending) "Resource Not Found"/ Directory Problems > > > The reason I commented is that I noticed in one of your previous > posts a log > error like: > > "Document base > /usr/local/tomcat/webapps/usr/local/tomcat/webapps/smsinfo does > not exist or is not a readable directory." > > Since this message contains the string > "/usr/local/tomcat/webapps" twice, I > thought maybe it was concatenating an absolute appBase with an > absolute docBase, > when it should be concatenating an absolute appBase with a > relative docBase. > > Can you check the same log and see what the error looks like now? > > Jay > > | Jay Burgess [Vertical Technology Group] > | http://www.vtgroup.com/ > > > -----Original Message----- > From: Allen Williams [mailto:anw@csunv.com] > Sent: Thursday, May 25, 2006 4:03 PM > To: Tomcat Users List > Subject: RE: More (Unending) "Resource Not Found"/ Directory Problems > > Thanks. This all started when I went from a Debian package install to > a more "vanilla" Linux install. Under the Debian apt package install, > it put everything into /usr/share/, and everything worked fine until I > tried to install an Ajp13 connector, whereupon it was recommended I do > the vanilla install. I put the vanilla install into /usr/local (seemed > to make more sense for some reason than /usr/share), and since then my > (very simple, just to get started) app doesn't work. As you can see from > this thread, it's like it can't find the top-level app directory (which, > of course, I've put under /usr/local/tomcat/webapps). When I try > to access > it, I get a message in my browser that says "The requested resource > (/smsinfo/) is not available". > > Actually, at the moment, I am back to a relative path for docBase. > > Is there anyway to set a higher debug level or something so that maybe > tomcat will print out how he is trying to resolve paths, etc.? > > > -----Original Message----- > > From: Jay Burgess [mailto:lists@vtgroup.com] > > Sent: Thursday, May 25, 2006 4:53 PM > > To: users@tomcat.apache.org > > Subject: RE: More (Unending) "Resource Not Found"/ Directory Problems > > > > > > I'm coming into this discussion late, so ignore this if it's > > offbase, but it > > looks like you are using absolute paths for both appBase and docBase: > > > > > > > > > > The docBase docs say "You may specify an absolute pathname for > > this directory or > > WAR file, or a pathname that is relative to the appBase directory > > of the owning > > Host." > > > > Shouldn't you be using a relative path for docBase, not an absolute one? > > > > Jay > > > > | Jay Burgess [Vertical Technology Group] > > | http://www.vtgroup.com/ > > > > -----Original Message----- > > From: Allen Williams [mailto:anw@csunv.com] > > Sent: Thursday, May 25, 2006 3:34 PM > > To: Tomcat Users List > > Subject: RE: More (Unending) "Resource Not Found"/ Directory Problems > > > > Oooo-kay. I went and (re)read the document you suggested, did > > change docbase in the Context element to docBase (which I did > > miss until you pointed it out), and the same thing still hap- > > pens. Evidently, there's no way to tell tomcat how many times > > I've read the documentation;-) > > > > I know this is bound to be some stupid little thing I've missed > > (I actually had high hopes with the docbase->docBase change), > > but I don't know what it is. > > > > > -----Original Message----- > > > From: Hassan Schroeder [mailto:hassan.schroeder@gmail.com] > > > Sent: Thursday, May 25, 2006 4:11 PM > > > To: Tomcat Users List > > > Subject: Re: More (Unending) "Resource Not Found"/ Directory Problems > > > > > > > > > On 5/25/06, Allen Williams wrote: > > > > Are the absolute paths like > > > > "http://localhost:8080/smsinfo" > > > > or like "/usr/local/tomcat/webapps/smsinfo"? > > > > > > File system paths, your second choice :-) > > > > > > > Also, I assume by docBase you mean the docbase attribute in > > the Context > > > > element. > > > > > > Sweet mother of -- no, I mean "docBase", which, if you *read* the > > > Fine Documentation at > > > , > > > you'll see is spelled exactly that way *AND IS CASE SENSITIVE*. > > > > > > OK? Go through your configuration and *look closely* at each element > > > and attribute and *check them against the doc*. It'll save > you a lot of > > > unneccessary frustration. Really. :-) > > > > > > -- > > > Hassan Schroeder ------------------------ hassan.schroeder@gmail.com > > > > > > --------------------------------------------------------------------- > > > To start a new topic, e-mail: users@tomcat.apache.org > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org