Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 99420 invoked from network); 16 Jun 2007 15:53:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2007 15:53:35 -0000 Received: (qmail 34573 invoked by uid 500); 16 Jun 2007 15:53:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 33487 invoked by uid 500); 16 Jun 2007 15:53:23 -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 33476 invoked by uid 99); 16 Jun 2007 15:53:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2007 08:53:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mgainty@hotmail.com designates 65.54.246.168 as permitted sender) Received: from [65.54.246.168] (HELO bay0-omc2-s32.bay0.hotmail.com) (65.54.246.168) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2007 08:53:19 -0700 Received: from hotmail.com ([65.54.162.82]) by bay0-omc2-s32.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sat, 16 Jun 2007 08:52:58 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 16 Jun 2007 08:52:58 -0700 Message-ID: Received: from 66.31.123.13 by BAY108-DAV10.phx.gbl with DAV; Sat, 16 Jun 2007 15:52:56 +0000 X-Originating-IP: [66.31.123.13] X-Originating-Email: [mgainty@hotmail.com] X-Sender: mgainty@hotmail.com Reply-To: "Martin Gainty" From: "Martin Gainty" To: "Tomcat Users List" References: <1181918078.2810.15.camel@localhost.localdomain> <1181924518.2628.2.camel@localhost.localdomain> <1181930479.2628.8.camel@localhost.localdomain> <4673093C.5010600@morxy.co.uk> Subject: Re: Tomcat 5.5.23: Cannot Deploy hello-world.war Date: Sat, 16 Jun 2007 11:52:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-OriginalArrivalTime: 16 Jun 2007 15:52:58.0715 (UTC) FILETIME=[696E02B0:01C7B02E] X-Virus-Checked: Checked by ClamAV on apache.org I would recommend..Either.. in your Application's ./META-INF/.xml specify docBase http://tomcat.apache.org/tomcat-5.0-doc/config/context.html docBase is defined as The Document Base (also known as the Context Root) directory for this web application, or the pathname to the web application archive file (if this web application is being executed directly from the WAR file). 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. an example should be located in $CATALINA_HOME/webapps/admin/admin.xml OR in $CATALINA_HOMEconf/server.xml for To: "Tomcat Users List" Sent: Friday, June 15, 2007 5:48 PM Subject: Re: Tomcat 5.5.23: Cannot Deploy hello-world.war > Caldarale, Charles R wrote: >>>From: Mark Hawkes [mailto:mark@morxy.co.uk] Subject: RE: Tomcat 5.5.23: >>>Cannot Deploy hello-world.war >> >> The structure looks good. >> >>>META-INF/context.xml >>>WEB-INF/web.xml >> >> >> What's in the above two files? > > $ cat META-INF/context.xml > debug="0"> > > > > > $ cat WEB-INF/web.xml > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > web-app_2_4.xsd" > version="2.4"> > Hello World > > An application that outputs a text/plain response of the string > "Hello World" > > > > HelloWorld > com.markhawkes.misc.HelloWorldServlet > > > HelloWorld > /HelloWorld > > > > > --------------------------------------------------------------------- > 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