Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 93FA2E693 for ; Fri, 11 Jan 2013 15:34:15 +0000 (UTC) Received: (qmail 28575 invoked by uid 500); 11 Jan 2013 15:34:13 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 28465 invoked by uid 500); 11 Jan 2013 15:34:13 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 28425 invoked by uid 99); 11 Jan 2013 15:34:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 15:34:13 +0000 Date: Fri, 11 Jan 2013 15:34:13 +0000 (UTC) From: =?utf-8?Q?Olivier_Lamy_=28*=24=5E=C2=A8=25=60=C2=A3=29_=28JIRA=29?= To: dev@tomcat.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (MTOMCAT-47) Goal "exploded" does deploys before undeploy is finished MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MTOMCAT-47?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^=C2=A8%`=C2=A3) closed MTOMCAT-47. ----------------------------------------- Resolution: Not A Problem must not be a problem with recent version. =20 > Goal "exploded" does deploys before undeploy is finished > -------------------------------------------------------- > > Key: MTOMCAT-47 > URL: https://issues.apache.org/jira/browse/MTOMCAT-47 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Affects Versions: 1.0-beta-1 > Environment: Apache Maven 3.0-alpha-4 (r835944; 2009-11-13 19:06:= 31+0100) > Java version: 1.6.0_17 > Default locale: de_DE, platform encoding: Cp1252 > OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows" > Reporter: Mark Michaelis > > For integration tests we want to deploy an exploded webapp into tomcat. B= ut this fails if we deployed the webapp in a previous run as the deployment= seems to start before the undeployment is actually done. > This is the code snippet we use for deployment. Mind the "update=3Dtrue" = which should do the undeployment: > {code:xml} > > org.codehaus.mojo > tomcat-maven-plugin > 1.0-beta-1 > > > deploy > > exploded > > compile > > http://localhost:8001/manager > some > someother > /webapp > / > true > > > > > {code} > From the log: > {noformat} > [INFO] --- tomcat-maven-plugin:1.0-beta-1:exploded (deploy) @ tomcat-depl= oyment --- > [DEBUG] Created new class realm plugin>org.codehaus.mojo:tomcat-maven-plu= gin:1.0-beta-1 > [DEBUG] Populating plugin realm for org.codehaus.mojo:tomcat-maven-plugin= :1.0-beta-1 > [DEBUG] Included: org.codehaus.mojo:tomcat-maven-plugin:maven-plugin:1.= 0-beta-1 > [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0 > [DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.0 > [DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.0 > [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:1.0.4 > [DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.0 > [DEBUG] Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-= alpha-8 > [DEBUG] Excluded: classworlds:classworlds:jar:1.1-alpha-2 > [DEBUG] Excluded: org.apache.maven.wagon:wagon-provider-api:jar:1.0-alp= ha-5 > [DEBUG] Included: commons-codec:commons-codec:jar:1.3 > [DEBUG] Included: org.apache.tomcat:catalina:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:servlet-api:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:juli:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:annotations-api:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:catalina-ha:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:coyote:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:tribes:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:el-api:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:jasper:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:jsp-api:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:jasper-jdt:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:jasper-el:jar:6.0.16 > [DEBUG] Included: org.apache.tomcat:dbcp:jar:6.0.16 > [DEBUG] Configuring mojo 'org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-= 1:exploded' with basic configurator --> > [DEBUG] (f) charset =3D ISO-8859-1 > [DEBUG] (f) contextFile =3D ...\META-INF\context.xml > [DEBUG] (f) mode =3D war > [DEBUG] (f) packaging =3D war > [DEBUG] (f) password =3D ... > [DEBUG] (f) path =3D /editor > [DEBUG] (f) update =3D true > [DEBUG] (f) url =3D http://localhost:8001/manager > [DEBUG] (f) username =3D ... > [DEBUG] (f) version =3D 1.0-beta-1 > [DEBUG] (f) warDirectory =3D ...\webapp > [DEBUG] -- end configuration -- > [INFO] Deploying war to http://localhost:8001/editor > [DEBUG] No server specified for authentication - using defaults > [INFO] OK - Undeployed application at context path /editor > [INFO] FAIL - Application already exists at path /editor > {noformat} > Thus the deployment fails because undeployment is still incomplete. > *Workarounds:* > * Manually clean before doing the deployment. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org