Re: tomcat7-maven-plugin redeploy

2011-11-16 Thread Olivier Lamy
Hello,
Did you try update parameter to true [1] ?

Thanks
-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

[1] 
http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/deploy-mojo.html#update

2011/11/16 Hodchenkov, Paul paul.hodchen...@oxagile.com:
 Hi,
 It's seems that new tomcat7 plugin does not have undeploy/redeploy goals.

 So deployment fails with:
 --
 [ERROR] BUILD ERROR
 [INFO] --
 --
 [INFO] Cannot invoke Tomcat manager: FAIL - Application already exists at
  path /

 Is it possible to undeploy/redeploy app using apache tomcat7 plugin? Should I 
 revert back to codehaus plugin?

 -Original Message-
 From: Jesse Farinacci [mailto:jie...@gmail.com]
 Sent: Wednesday, November 16, 2011 4:21 AM
 To: Tomcat Users List
 Subject: Re: tomcat7-maven-plugin redeploy

 Greetings,

 On Tue, Nov 15, 2011 at 6:13 PM, David Yu d...@collab.net wrote:
 Is there a redeploy goal for the tomcat7 plugin? I'm trying to re-deploy
 a war file that has already been deployed and built to my remote tomcat
 server. Thanks.

 New development is at:

 http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/plugin-info.html

 Old deprecated plugin is at:

 http://mojo.codehaus.org/tomcat-maven-plugin/plugin-info.html
 http://mojo.codehaus.org/tomcat-maven-plugin/redeploy-mojo.html

 -Jesse

 --
 There are 10 types of people in this world, those
 that can read binary and those that can not.

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: tomcat7-maven-plugin redeploy

2011-11-16 Thread Hodchenkov, Paul
Thanks, it works.

-Original Message-
From: Olivier Lamy [mailto:ol...@apache.org] 
Sent: Wednesday, November 16, 2011 11:35 AM
To: Tomcat Users List
Subject: Re: tomcat7-maven-plugin redeploy

Hello,
Did you try update parameter to true [1] ?

Thanks
-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

[1] 
http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/deploy-mojo.html#update

2011/11/16 Hodchenkov, Paul paul.hodchen...@oxagile.com:
 Hi,
 It's seems that new tomcat7 plugin does not have undeploy/redeploy goals.

 So deployment fails with:
 --
 [ERROR] BUILD ERROR
 [INFO] --
 --
 [INFO] Cannot invoke Tomcat manager: FAIL - Application already exists at
  path /

 Is it possible to undeploy/redeploy app using apache tomcat7 plugin? Should I 
 revert back to codehaus plugin?

 -Original Message-
 From: Jesse Farinacci [mailto:jie...@gmail.com]
 Sent: Wednesday, November 16, 2011 4:21 AM
 To: Tomcat Users List
 Subject: Re: tomcat7-maven-plugin redeploy

 Greetings,

 On Tue, Nov 15, 2011 at 6:13 PM, David Yu d...@collab.net wrote:
 Is there a redeploy goal for the tomcat7 plugin? I'm trying to re-deploy
 a war file that has already been deployed and built to my remote tomcat
 server. Thanks.

 New development is at:

 http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/plugin-info.html

 Old deprecated plugin is at:

 http://mojo.codehaus.org/tomcat-maven-plugin/plugin-info.html
 http://mojo.codehaus.org/tomcat-maven-plugin/redeploy-mojo.html

 -Jesse

 --
 There are 10 types of people in this world, those
 that can read binary and those that can not.

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat7-maven-plugin redeploy

2011-11-15 Thread Jesse Farinacci
Greetings,

On Tue, Nov 15, 2011 at 6:13 PM, David Yu d...@collab.net wrote:
 Is there a redeploy goal for the tomcat7 plugin? I'm trying to re-deploy
 a war file that has already been deployed and built to my remote tomcat
 server. Thanks.

New development is at:

http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/plugin-info.html

Old deprecated plugin is at:

http://mojo.codehaus.org/tomcat-maven-plugin/plugin-info.html
http://mojo.codehaus.org/tomcat-maven-plugin/redeploy-mojo.html

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: tomcat7-maven-plugin redeploy

2011-11-15 Thread Hodchenkov, Paul
Hi,
It's seems that new tomcat7 plugin does not have undeploy/redeploy goals.

So deployment fails with:
--
[ERROR] BUILD ERROR
[INFO] --
--
[INFO] Cannot invoke Tomcat manager: FAIL - Application already exists at
 path /

Is it possible to undeploy/redeploy app using apache tomcat7 plugin? Should I 
revert back to codehaus plugin?

-Original Message-
From: Jesse Farinacci [mailto:jie...@gmail.com] 
Sent: Wednesday, November 16, 2011 4:21 AM
To: Tomcat Users List
Subject: Re: tomcat7-maven-plugin redeploy

Greetings,

On Tue, Nov 15, 2011 at 6:13 PM, David Yu d...@collab.net wrote:
 Is there a redeploy goal for the tomcat7 plugin? I'm trying to re-deploy
 a war file that has already been deployed and built to my remote tomcat
 server. Thanks.

New development is at:

http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/plugin-info.html

Old deprecated plugin is at:

http://mojo.codehaus.org/tomcat-maven-plugin/plugin-info.html
http://mojo.codehaus.org/tomcat-maven-plugin/redeploy-mojo.html

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org