Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 69742 invoked from network); 2 Sep 2007 15:48:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Sep 2007 15:48:14 -0000 Received: (qmail 34011 invoked by uid 500); 2 Sep 2007 15:47:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 33999 invoked by uid 500); 2 Sep 2007 15:47:56 -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 33988 invoked by uid 99); 2 Sep 2007 15:47:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Sep 2007 08:47:56 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of boughtonp@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Sep 2007 15:47:51 +0000 Received: by an-out-0708.google.com with SMTP id b2so304488ana for ; Sun, 02 Sep 2007 08:47:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HMjnSHnxU4ll5VSlPfJyQKeLCxXwO4+Zj1Up9vvql37f7FBJF/eCJrFHFV/wIYmyHb4MaSAv8G2kBqUngLwU91rnB4bDJCI3M7zua+9tb+QFkWi1szEW776TfdGx/cuE3zVMf+zFogDQtDHq1zZ7Dj1XxsT01/pHzzbwJ0V/SHc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Hrg959/lcB/Mf0abPwYxFsreXkyCgdLX84VycBwOH7gEI4Zi7cC1uJh4ppT2yXZJR/ScRLu6dPRP1mI25A0E6kNOXgDT7IACNu1flZaMkEvDJs/nDtgu0ywQS6FbTi9BUU2Xi2ZpEvgtooYSqp3zBboBSVmofRJhx72zAxp6ucA= Received: by 10.100.166.14 with SMTP id o14mr3097538ane.1188748050299; Sun, 02 Sep 2007 08:47:30 -0700 (PDT) Received: by 10.100.152.10 with HTTP; Sun, 2 Sep 2007 08:47:30 -0700 (PDT) Message-ID: <5d97c170709020847n2f65d8b0w4c373ec7711a5ede@mail.gmail.com> Date: Sun, 2 Sep 2007 16:47:30 +0100 From: "Peter Boughton" To: "Tomcat Users List" Subject: Re: full path of 404 file In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5015_25926771.1188748050257" References: <5d97c170709011046i20b47569p40879ec1b84f9331@mail.gmail.com> <4eedb92a0709011136h7211755cya73dd763ae7fc64b@mail.gmail.com> <5d97c170709011150w14d067eu526e7dac70f15133@mail.gmail.com> <4eedb92a0709011203v345c6861r106821e7b28e1cf7@mail.gmail.com> <5d97c170709011218x468165a7qf19b262bbc7ede9@mail.gmail.com> <46DA25C4.1030500@apache.org> <5d97c170709020639n73d44018t9f296c6ec7c58ea3@mail.gmail.com> <46DACA2F.7050207@apache.org> <5d97c170709020817l2bbe4af3pced759299d17113@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5015_25926771.1188748050257 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline That's a good idea. :) I don't have a WEB-INF directory created yet - it does get auto-created, right? Anyway, here's /usr/local/jakarta/tomcat/conf/web.xml (with a few million mime types snipped out): ============ default org.apache.catalina.servlets.DefaultServlet debug 0 listings true 1 jsp org.apache.jasper.servlet.JspServlet fork false xpoweredBy false 3 CFMLServlet railo.runtime.servlet.MultiWebCFMLServlet configuration /WEB-INF/railo/ Configuration directory 2 default / jsp *.jsp jsp *.jspx CFMLServlet *.cfm CFMLServlet *.cfml CFMLServlet *.cfc 30 abs audio/x-mpeg [snip] zip application/zip index.cfml index.html index.cfm index.htm index.jsp ============ And this is /usr/local/jakarta/tomcat/conf/server.xml: ============ www.domain.com ============ And In the interests of making sure I'm giving enough information, I should probably say that I'm doing this via mod_jk from Apache, so if it's useful then here's my /usr/local/apache/conf/jk.conf file: ============ JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkOptions +ForwardKeySize +ForwardURICompat +ForwardDirectories JkRequestLogFormat "%w %V %T" JkAutoAlias /usr/local/jakarta/tomcat/webapps JkMount /* ajp13 JkUnMount /*.html ajp13 JkUnMount /*.jpg ajp13 JkUnMount /*.gif ajp13 JkUnMount /*.png ajp13 JkUnMount /*.php ajp13 ============ Thanks, Peter On 9/2/07, Caldarale, Charles R wrote: > > > From: Peter Boughton [mailto:boughtonp@gmail.com] > > Subject: Re: full path of 404 file > > > > Does the fact that it is apparently reaching the right > > directory now mean that this is more likely to be a new > > problem with web.xml rather than server.xml? > > Sounds like you really need to post your server.xml and WEB-INF/web.xml > files, rather than just hinting about them. Also, is there anything in > the WEB-INF/lib or WEB-INF/classes directories (e.g., precompiled JSPs)? > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > --------------------------------------------------------------------- > 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 > > -- \ \ Peter Boughton blog.bpsite.net / / ------=_Part_5015_25926771.1188748050257--