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 2DAD7C5C1 for ; Thu, 11 Dec 2014 14:32:36 +0000 (UTC) Received: (qmail 76621 invoked by uid 500); 11 Dec 2014 14:32:32 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 76553 invoked by uid 500); 11 Dec 2014 14:32:32 -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 76542 invoked by uid 99); 11 Dec 2014 14:32:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 14:32:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [206.46.173.21] (HELO vms173021pub.verizon.net) (206.46.173.21) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 14:32:06 +0000 MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=utf-8 Received: from Christophers-MacBook-Pro.local ([108.48.29.18]) by vms173021.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NGF00B5M9OVP1F0@vms173021.mailsrvcs.net> for users@tomcat.apache.org; Thu, 11 Dec 2014 08:31:44 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=LrklEcZZ c=1 sm=1 tr=0 a=3wmL2lkTLz9OZwEdKhDxIw==:117 a=ajofOHJKZv0A:10 a=IkcTkHD0fZMA:10 a=-57I09spAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=A92cGCtB03wA:10 a=pGLkceISAAAA:8 a=j4nzMFrpAAAA:8 a=KhK78soXl-0bmHzUwZsA:9 a=QEXdDO2ut3YA:10 Message-id: <5489AACF.50505@christopherschultz.net> Date: Thu, 11 Dec 2014 09:31:43 -0500 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 To: Tomcat Users List Subject: Re: Deploy message FAIL but app deployed References: In-reply-to: X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Jose, On 12/10/14 2:03 PM, Jose Monreal wrote: > I'm deploying my app as, > > curl --upload-file filename.war > http://localhost:8180/manager/text/deploy?path=my#new#app#1.0 > > and the META-INF/context.xml has this context /my/new/app/1.0 What is the error on the server? Check the logs. META-INF/context.xml should not include a "path" attribute. Does your WAR file's context.xml include a "path" attribute? If so, remove it. Do you have /my/new/app/1.0 defined in server.xml anywhere? If so, remove it. Do you have my#new#app#1.0.war in CATALINA_BASE/webapps? If so, remove that, too. Finally, remove any CATALINA_BASE/conf/[engine]/[host]/my#new#app#1.0.xml file and restart Tomcat. Then try deploying via the manager again. - -chris > On Wed, Dec 10, 2014 at 3:56 PM, Jose Monreal > wrote: > >> When I run >> >> curl http://localhost:8080/manager/text/list >> >> it shows, >> >> OK - Listed applications for virtual host localhost >> /:running:0:ROOT /manager:running:0:manager >> /my/new/app/1.0:running:0:my#new#app#1.0 /docs:running:0:docs >> /host-manager:running:0:host-manager >> >> >> >> >> >> Saludos cordiales, >> >> José Ignacio Monreal Bailey | Ingeniero Civil en Computación >> >> >> >> *Cuidemos del medio ambiente. Por favor no imprimas este e-mail >> si no es necesario.* >> >> On Wed, Dec 10, 2014 at 3:50 PM, Jose Monreal >> wrote: >> >>> I'm deploying my app using curl, and I get the following >>> error, >>> >>> FAIL - Failed to deploy application at context path >>> /my#new#app#1.0 >>> >>> But if I look inside webapps the app is unpacked, and if I load >>> the server with the context with reply ok. Why could be giving >>> me the FAIL message? >>> >>> Kind regards, José >>> >> >> > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUiarPAAoJEBzwKT+lPKRYMAwQAJvj2vY++phnMUHV45cyPFOu dtFG7CuuR8YuRAyNPBbNEyRW4weE6xu6Qg4MJ7dBpLQfsX4qGDFIPuMwgdV0x/kl ztldLMzaJNzl9jgyC6v7BZf+H7WqiWJXGI4WUD2IsI1A6D57yEWuwJomDcwGWdXF oUGJcH6/RhCETv3kugbVXaYrkUQqtquoJedxC8vys4Dt3XTaXwU6JEsMyg8WDPmH mebvtIu44Vxn1yfjkSB31XRYewKVGS/NBAd4kK6hWgMZmuJ9g5qIXVMfhhDDjX8k 5JEH4KTsSWroQ/AZwi2yE37uqjJ2o/hew5OPr5LOpVc7DL0v1BlN9aNxFbByZyTA s27DLntehkg6KPd4IFXdMoNn1uCiqbXUlmHTXomVusIJg4dOdr56nyRVRBsmZEoL haqo458bCfY8x6i6Xr4Omnb/dF8HnaQlyGje/SzGVBCbKDMge51PQxqXnRDOf7Yz Q8hg6vxq7a91yu5hFvnwlM+FhJ7AcaI/jrlwUI6mY6MIFH//fLALPT3vjZnY84KK b0wRqU9FoqUP/pKl21Ns48dqPhdptbrImPt212ZL5pW4wk8F50qs/9dlgKqs7eMP Y4gc2KuGkPZSyd7X/cq/hKcSdeOKYNBjE5wamlI8MCMwAdm4C7Fuy7QmsZQWsP8o HZNRZuFXgx9PKm/AD3wR =9Xlr -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org