Page 1 of 1

tomcat-stop doesn't stop tomcat

Posted: Sun May 31, 2015 2:12 am
by Bea
Hi,

I'm trying to stop tomcat with the tomcat-stop ant task and it doesn't work.
Well it actually works... It's just I cannot run tomcat task again, as the server is actually not shut down.

Code: Select all

tomcat-stop:
[artifact:mvn] [INFO] Scanning for projects...
[artifact:mvn] [INFO]                                                                         
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] Building site 1.0
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO]
[artifact:mvn] [INFO] --- tomcat7-maven-plugin:2.2:shutdown (default-cli) @ site ---
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] BUILD SUCCESS
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] Total time: 2.047 s
[artifact:mvn] [INFO] Finished at: 2015-05-31T08:58:38+02:00
[artifact:mvn] [INFO] Final Memory: 16M/119M
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
BUILD SUCCESSFUL
Total time: 3 seconds

Re: tomcat-stop doesn't stop tomcat

Posted: Wed Jun 03, 2015 2:15 pm
by rudy
I am facing the exact same issue. Have to shut down the server manually :?: :?: :?:

Re: tomcat-stop doesn't stop tomcat

Posted: Wed Jun 17, 2015 1:38 pm
by phillipuniverse
Hm yeah this is definitely a bug, we're tracking it at https://github.com/BroadleafCommerce/De ... issues/172.

If you kill the process that started Tomcat to begin with (either the red stop button in Eclipse for the ant task or just ctrl + c from the command line) then that will kill the process.