Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 34078 invoked from network); 25 May 2006 21:03:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2006 21:03:49 -0000 Received: (qmail 12604 invoked by uid 500); 25 May 2006 21:03:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 12586 invoked by uid 500); 25 May 2006 21:03:35 -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 12575 invoked by uid 99); 25 May 2006 21:03:35 -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 14:03:35 -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.133] (HELO ms-smtp-03.tampabay.rr.com) (65.32.5.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 14:03:34 -0700 Received: from csunvadmin (34.14.205.68.cfl.res.rr.com [68.205.14.34]) by ms-smtp-03.tampabay.rr.com (8.13.6/8.13.6) with SMTP id k4PL3CgH001460 for ; Thu, 25 May 2006 17:03:12 -0400 (EDT) From: "Allen Williams" To: "Tomcat Users List" Subject: RE: More (Unending) "Resource Not Found"/ Directory Problems Date: Thu, 25 May 2006 17:03:14 -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: <1148590353.447619111844d@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 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