Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 51043 invoked from network); 18 Feb 2003 14:10:27 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 18 Feb 2003 14:10:27 -0000 Received: (qmail 4668 invoked by uid 97); 18 Feb 2003 14:12:00 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 4661 invoked from network); 18 Feb 2003 14:12:00 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 18 Feb 2003 14:12:00 -0000 Received: (qmail 47241 invoked by uid 500); 18 Feb 2003 14:09:37 -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 47204 invoked from network); 18 Feb 2003 14:09:36 -0000 Received: from sccrmhc03.attbi.com (204.127.202.63) by daedalus.apache.org with SMTP; 18 Feb 2003 14:09:36 -0000 Received: from nicki.visi.com (c-24-118-17-192.mn.client2.attbi.com[24.118.17.192]) by sccrmhc03.attbi.com (sccrmhc03) with SMTP id <20030218140936003005ao7ce>; Tue, 18 Feb 2003 14:09:36 +0000 Message-Id: <5.2.0.9.2.20030218080535.02d19d38@shell.visi.com> X-Sender: hoju@shell.visi.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Tue, 18 Feb 2003 08:12:21 -0600 To: "Tomcat Users List" From: Jacob Kjome Subject: Re: WAR FILE NOT WORKING In-Reply-To: <01C2D768.B27248C0@NANDISH> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_1596140==.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=====================_1596140==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed First, you have an invalid context "path" of "\". It should be either "" for the ROOT context or something like "/apps". Note the forward slash instead of the backslash and notice that a path of "/" does *not* refer to the root app. It is an undefined path according to Tomcat. I'm not really sure why "" was used for the ROOT context instead of "/". It just is, so, now you know. Second, if you configure this in server.xml and then expect a .war of the name apps.war to be extracted to a directory of the same name (minus the ".war"), you are mistaken. You will need to shut down Tomcat and unpack this yourself first. If you didn't configure anything in server.xml, then it would be unpacked like you expect. It is all in Tomcat's documentation. Don't feel alone on this one, though. A lot of people have had this confusion and the behavior is somewhat of a contentious issue. However, now that you know it works this way (whether we like it or not), you can work around it. Jake At 04:13 PM 2/18/2003 +0530, you wrote: >hi all i am using tomcat 4.1.17 windows 95. i tested my application >keeping it in a directory "apps" on desktop and configuring the server.xml >file. No when i create the war file of the directory >and place it in webapps when i restart my server the apps.war is not >getting extracted and teh server crashes. i used >reloadable="true" crossContext="true" privileged="true"> > >any help any idea any opinion would be great >Regards >Nandish >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --=====================_1596140==.ALT--