You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Yu <dy...@collab.net> on 2011/11/16 00:13:13 UTC

tomcat7-maven-plugin redeploy

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.

 

David Yu | Sales Engineer | CollabNet, Inc.
8000 Marina Blvd. Suite 600 | Brisbane, CA 94005 | USA
Skype david.yongshin.yu | O 650.228.2613 | C 415.235.1241 |
dyu@collab.net <ma...@collab.net> 
Agile Development in the Cloud: 7,000 Companies, 5M users, 90+ countries

 


RE: tomcat7-maven-plugin redeploy

Posted by "Hodchenkov, Paul" <pa...@oxagile.com>.
Thanks, it works.

-----Original Message-----
From: Olivier Lamy [mailto:olamy@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 <pa...@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:jieryn@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 <dy...@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


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


Re: tomcat7-maven-plugin redeploy

Posted by Olivier Lamy <ol...@apache.org>.
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 <pa...@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:jieryn@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 <dy...@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


RE: tomcat7-maven-plugin redeploy

Posted by "Hodchenkov, Paul" <pa...@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:jieryn@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 <dy...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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


Re: tomcat7-maven-plugin redeploy

Posted by Jesse Farinacci <ji...@gmail.com>.
Greetings,

On Tue, Nov 15, 2011 at 6:13 PM, David Yu <dy...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org