You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by mauro2java2011 <ma...@gmail.com> on 2018/11/22 13:20:48 UTC
can't stop tomee with maven plugin
Hi all.
I not can stop tomee with command of maven plugin:
tomee:stop
From ide netbeans i get errors.
So i ask : when i use the command of maven :
package tomee:run
I get deployed on tomee the web app and started tomee.
But tomee started with maven plugin remain in running state?
How i can stop it without get any errors ?
Mauro
--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
Re: can't stop tomee with maven plugin
Posted by César Hernández Mendoza <ce...@gmail.com>.
Hi Mauro,
The options Romain mentioned worked fine on my side, it can be divided into
two groups:
If you start from the command line using: mvn tomee:run
From the same terminal you can do the following options to stop it:
- exit
- quit
- crtl + c
If you start from the command line using: mvn tomee:start
From the same terminal you can do the following option to stop it:
- mvn tomee:stop
El jue., 22 nov. 2018 a las 8:13, Romain Manni-Bucau (<rm...@gmail.com>)
escribió:
> Stop a TomEE started with start command.
> means you can use tomee:stop to stop an instance launched with tomee:start.
> tomee:run blocks in the contextual shell and is stopped typing "exit" in
> the shell (it is a kind of command line interface)
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
>
>
> Le jeu. 22 nov. 2018 à 14:50, mauro2java2011 <ma...@gmail.com> a
> écrit :
>
> > Sorry but what you mean with:
> >
> > Stop is intended for "start" only as in tomcat. ???
> >
> > From the page
> >
> > http://tomee.apache.org/tomee-maven-plugin.html
> > <http://tomee.apache.org/tomee-maven-plugin.html>
> >
> > Exist the command tomee:stop
> >
> > Sorry for my confusion
> >
> >
> >
> > --
> > Sent from:
> > http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
> >
>
--
Atentamente:
César Hernández Mendoza.
Re: can't stop tomee with maven plugin
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Stop a TomEE started with start command.
means you can use tomee:stop to stop an instance launched with tomee:start.
tomee:run blocks in the contextual shell and is stopped typing "exit" in
the shell (it is a kind of command line interface)
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Le jeu. 22 nov. 2018 à 14:50, mauro2java2011 <ma...@gmail.com> a
écrit :
> Sorry but what you mean with:
>
> Stop is intended for "start" only as in tomcat. ???
>
> From the page
>
> http://tomee.apache.org/tomee-maven-plugin.html
> <http://tomee.apache.org/tomee-maven-plugin.html>
>
> Exist the command tomee:stop
>
> Sorry for my confusion
>
>
>
> --
> Sent from:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
>
Re: can't stop tomee with maven plugin
Posted by mauro2java2011 <ma...@gmail.com>.
Sorry but what you mean with:
Stop is intended for "start" only as in tomcat. ???
From the page
http://tomee.apache.org/tomee-maven-plugin.html
<http://tomee.apache.org/tomee-maven-plugin.html>
Exist the command tomee:stop
Sorry for my confusion
--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
Re: can't stop tomee with maven plugin
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi Mauro:
just type "quit" or "exit" in the console for "run". Stop is intended for
"start" only (as in tomcat).
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Le jeu. 22 nov. 2018 à 14:20, mauro2java2011 <ma...@gmail.com> a
écrit :
> Hi all.
> I not can stop tomee with command of maven plugin:
>
> tomee:stop
> From ide netbeans i get errors.
> So i ask : when i use the command of maven :
>
> package tomee:run
>
> I get deployed on tomee the web app and started tomee.
> But tomee started with maven plugin remain in running state?
>
> How i can stop it without get any errors ?
>
> Mauro
>
>
>
> --
> Sent from:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
>