You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by aibar <ai...@ya.ru> on 2015/10/13 19:10:23 UTC
Can't tomee:undeploy ear with tomee-maven-plugin
Hi everyone! I'm successfully tomee:deploy ear file, but can't undeploy.
Tomee:undeploy goal finishes successfully, but nothing logged in
catalina.out
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Can-t-tomee-undeploy-ear-with-tomee-maven-plugin-tp4676484.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Can't tomee:undeploy ear with tomee-maven-plugin
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
are you sure you used the path logged during the deployment calling
undeploy? If not it can do a noop.
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>
2015-10-13 19:10 GMT+02:00 aibar <ai...@ya.ru>:
> Hi everyone! I'm successfully tomee:deploy ear file, but can't undeploy.
> Tomee:undeploy goal finishes successfully, but nothing logged in
> catalina.out
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Can-t-tomee-undeploy-ear-with-tomee-maven-plugin-tp4676484.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>
Re: Can't tomee:undeploy ear with tomee-maven-plugin
Posted by aibar <ai...@ya.ru>.
Awesome, thanks a lot! Removed. ear from path and it worked. Documentation is
not so clear... but i really like tomee
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Can-t-tomee-undeploy-ear-with-tomee-maven-plugin-tp4676484p4676491.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Can't tomee:undeploy ear with tomee-maven-plugin
Posted by Romain Manni-Bucau <rm...@gmail.com>.
path is likely wrong for undeploy, check "Deployed Application..." during
deployment it logs the path, this is the one to use to undeploy.
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>
2015-10-13 19:26 GMT+02:00 aibar <ai...@ya.ru>:
> This is tomee plugin config in my ear module pom.xml:
> <plugin>
> <groupId>org.apache.openejb.maven</groupId>
> <artifactId>tomee-maven-plugin</artifactId>
> <configuration>
> <user>***</user>
> <password>***</password>
> <tomeeHost>***</tomeeHost>
>
> <path>${project.build.directory}/${project.build.finalName}.ear</path>
> </configuration>
> </plugin>
>
> I'm executing mvn tomee:deploy, it deploys. mvn tomee:undeploy, nothing
> happens
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Can-t-tomee-undeploy-ear-with-tomee-maven-plugin-tp4676484p4676488.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>
Re: Can't tomee:undeploy ear with tomee-maven-plugin
Posted by aibar <ai...@ya.ru>.
This is tomee plugin config in my ear module pom.xml:
<plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<configuration>
<user>***</user>
<password>***</password>
<tomeeHost>***</tomeeHost>
<path>${project.build.directory}/${project.build.finalName}.ear</path>
</configuration>
</plugin>
I'm executing mvn tomee:deploy, it deploys. mvn tomee:undeploy, nothing
happens
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Can-t-tomee-undeploy-ear-with-tomee-maven-plugin-tp4676484p4676488.html
Sent from the TomEE Users mailing list archive at Nabble.com.