Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 38617 invoked from network); 1 Apr 2003 16:52:17 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Apr 2003 16:52:17 -0000 Received: (qmail 9380 invoked by uid 97); 1 Apr 2003 16:54:08 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 9373 invoked from network); 1 Apr 2003 16:54:07 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 Apr 2003 16:54:07 -0000 Received: (qmail 37141 invoked by uid 500); 1 Apr 2003 16:52:01 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 37128 invoked from network); 1 Apr 2003 16:52:01 -0000 Received: from unknown (HELO cnsmail.com) (209.94.120.148) by daedalus.apache.org with SMTP; 1 Apr 2003 16:52:01 -0000 Received: from [205.179.215.36] (account pwachtel HELO Appliance) by cnsmail.com (CommuniGate Pro SMTP 3.5.9) with ESMTP-TLS id 756127 for tomcat-user@jakarta.apache.org; Tue, 01 Apr 2003 11:52:03 -0500 Message-ID: <002501c2f86e$c00a32a0$24d7b3cd@Appliance> From: "Philip S. Wachtel" To: "Tomcat Users List" References: <9C5166762F311146951505C6790A9CF858E75B@US-VS1.corp.mpi.com> Subject: Re: Deployment trouble: Directory Listing For / Date: Tue, 1 Apr 2003 11:50:05 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi there, Thanks for your help. In the main server.xml file, I have only: as a context. I have a directory: /var/tomcat4/webapps that contains news.xml This file contains: ______________________ ____________________ In ../server/webapps/news/WEB-INF, there's a file called web.xml, which is included below. Does this answer your question? Thanks! Philip ----- Original Message ----- From: "Shapira, Yoav" To: "Tomcat Users List" Sent: Tuesday, April 01, 2003 11:40 AM Subject: RE: Deployment trouble: Directory Listing For / Howdy, Is the web.xml you quoted in the ROOT context or in your own context? The url-pattern in web.xml is relative to the context root. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Philip S. Wachtel [mailto:skeeve@cnsmail.com] >Sent: Tuesday, April 01, 2003 11:29 AM >To: Tomcat Users List >Subject: Deployment trouble: Directory Listing For / > >Hi there, > >I just joined the list, so if this question has been asked recently, please >forgive me. > >I'm using Tomcat 4.1 on Redhat 7.3. I know that the server is working as >the admin application seems to work, although it mangles the server.xml >file >pretty good. > >The trouble I'm having is that although I can see that my servlet is >deployed, I can't make the mapping work. I know the servelt is deployed >because debugging information in the init() method is showing up in the >logs. > >When I go to the url: http://myserver.com:8080/news?rdfFileName=healthcare > >I just get: Directory Listing For / ... with no files in the list. > >(Note: When I press enter, the browser replaces the url with almost the >same >on, but with an extra slash: >http://nagios.cnsmail.com:8080/news/?rdfFileName=moreover_healthcare) > >The log shows: >2003-04-01 11:18:09 StandardContext[/news]: Mapping contextPath='/news' >with >requestURI='/news/' and relativeURI='/' >2003-04-01 11:18:09 StandardContext[/news]: Trying exact match >2003-04-01 11:18:09 StandardContext[/news]: Trying prefix match >2003-04-01 11:18:09 StandardContext[/news]: Trying extension match >2003-04-01 11:18:09 StandardContext[/news]: Trying default match >2003-04-01 11:18:09 StandardContext[/news]: Mapped to servlet 'default' >with servlet path '/' and path info 'null' and update=true > >I did not add any special config in the server.xml file -- only in the >web.xml file in the WEB-INF dir: > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > > News Feed > > News Feed Application > > > > > news > > philservlet.PhilServlet > > > 2 > > > > > news > /news > > > > >Why, oh, why is this happening? >I appreciate your suggestions. > >Regards, >Philip > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org