Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06C3882BC for ; Fri, 12 Aug 2011 08:33:15 +0000 (UTC) Received: (qmail 39803 invoked by uid 500); 12 Aug 2011 08:33:09 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 39277 invoked by uid 500); 12 Aug 2011 08:32:54 -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 39254 invoked by uid 99); 12 Aug 2011 08:32:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 08:32:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.138.90.250] (HELO nm7-vm1.bullet.mail.ne1.yahoo.com) (98.138.90.250) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 12 Aug 2011 08:32:36 +0000 Received: from [98.138.90.56] by nm7.bullet.mail.ne1.yahoo.com with NNFMP; 12 Aug 2011 08:32:15 -0000 Received: from [98.138.87.9] by tm9.bullet.mail.ne1.yahoo.com with NNFMP; 12 Aug 2011 08:32:15 -0000 Received: from [127.0.0.1] by omp1009.mail.ne1.yahoo.com with NNFMP; 12 Aug 2011 08:32:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 568447.6884.bm@omp1009.mail.ne1.yahoo.com Received: (qmail 12700 invoked by uid 60001); 12 Aug 2011 08:32:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1313137935; bh=E0FLf8iGJ/mqgHMSLvsW7CqjEJQfrZayhHGek5Jt5js=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=kAywz+klknF6y4vj+Qf00uPjt7yfROz1PNngdrnkPOWNxSH5746rWZzsFZ0fVwxSq8PHqkLyZEcJqEphAW3V7QGVHz6VC6Kkv/aMOI7C/IyKarV9FtJcM5fdUQSgBBljhXxhpbd4BRb3Wu9oxKHqkHs2x+MSuo8/ROrrnJkBsr0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=tj5f3WbBgL18XQHQaKBUDKgVq7wM1Xc6UgXhRKNtydg/G4Cm5NG8NpJ4ocMcdcLw6pv9y8LegX7MfD6DZKXOEiJywKQeS6n5MA75eZzwESQRczhIVUBa8aJsHJLUFQHX5QNuLreYKVKVZPH1xAwVWRE6MkARS7je11fUo3yC6ZM=; X-YMail-OSG: ttLELgsVM1ks6pyVIHaczKKA9LoY5s1rE_HIqPiVHV.3GI0 aH8tqQ.uifisJKzJNvTNtVU0_NRPTu6AxAbQD_ojh0mbe9HrSd1DbQGLwBFA orJOPGybzP338fQN4aFKIlFB5Iq5Un6qmAm1NVf3NBKiirHZNuOex0iwUAO5 7iOEOScV4KM3JEE6s7jhvo66DcxH7D2KyQUokM2Q23rVt5jCZoX1P8206shL QSbyXDs7HUa0g1v2qTxwVIEqDNHB8oOR6ZCDCakqezZT2x_kivP4DrstOFul Kk30BYjcB.YLXm7DVyUU2eRr9KYGfd0X_jfSn_7FcRmvV2vzb7dh.xjiaj.j o4X6TrEMcY7er.YpDdshdyEM.QD2zbbhrsbXfkPqcyfbOJVN3wuzOXsr5Mbp YPFq5UYPYhx16UUKTQNl7rfhrp4_J6_XK.5JCEi22vkgz9cfKYrOATg-- Received: from [204.16.152.10] by web112006.mail.gq1.yahoo.com via HTTP; Fri, 12 Aug 2011 01:32:15 PDT X-Mailer: YahooMailWebService/0.8.113.313619 References: <1313136285.60148.YahooMailNeo@web112012.mail.gq1.yahoo.com> <4E44E22A.90606@apache.org> Message-ID: <1313137935.95208.YahooMailNeo@web112006.mail.gq1.yahoo.com> Date: Fri, 12 Aug 2011 01:32:15 -0700 (PDT) From: exquisite Reply-To: exquisite Subject: Re: Cannot make war file as default app To: Tomcat Users List In-Reply-To: <4E44E22A.90606@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1233536346-1313137935=:95208" --0-1233536346-1313137935=:95208 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Mark,=0A=0AI tried that way as well but i get the same issue. Tomcat doe= s not even deploy my war. All it says on console is ' Server startup in xxx= ms" and stays there forever.=0A=0AIm getting confused and wondering if the= re is any mistake in the Tomcat documentation.=0A=0APlease suggest.=0A=0Ath= anks=0AG=0A=0A=0A=0A=0A________________________________=0AFrom: Mark Thomas= =0ATo: Tomcat Users List =0ASen= t: Friday, August 12, 2011 1:19 AM=0ASubject: Re: Cannot make war file as d= efault app=0A=0AOn 12/08/2011 09:04, exquisite wrote:=0A> Hello, =0A> =0A> = I followed the below steps from Tomcat Wiki for making my war file as the d= efault webapp, but tomcat is not deploying my war:=0A> =0A> How do I make m= y web application be the Tomcat default application?=0A> =0A> Method 2.2 = =0A> If you really know what you are doing..=0A=0ASigh.=0A=0A> - leave your= war file in CATALINA_BASE/webapps, under its original name=0A> - turn off = autoDeploy and deployOnStartup in your Host element in the server.xml file.= =0A> - explicitly define all application Contexts in =0A> server.xml, speci= fying both path and docBase. You must do this, because =0A> you have disabl= ed all the Tomcat auto-deploy mechanisms, and Tomcat will not deploy your a= pplications anymore unless it finds their Context in =0A> the server.xml.= =0A> =0A> I did exactly like they said in WIKI (autoDeploy=3Dfalse, deployO= nStartup=3Dfalse) , but after doing all this, Tomcat does not even deploy m= y war file. here is my host configuration in server.xml after my changes:= =0A> =0A> =A0 =A0 =A0 =A0 = =A0 =A0 unpackWARs=3D"true" autoDeploy=3D"false" deployOnStartup=3D"false"= =0A>=A0 =A0 =A0 =A0 =A0 =A0 xmlValidation=3D"false" xmlNamespaceAware=3D"f= alse">=0A>=A0 =A0 =A0 =A0 =A0 =A0 =0A>=A0 =A0 =A0 =A0 =0A=0AYou claim to be deploying a WAR file so I'd expect = to see=0AdocBase=3D"myapp.war"=0A=0AMark=0A=0A-----------------------------= ----------------------------------------=0ATo unsubscribe, e-mail: users-un= subscribe@tomcat.apache.org=0AFor additional commands, e-mail: users-help@t= omcat.apache.org --0-1233536346-1313137935=:95208--