mbonaci/run-jetty-run

Mechanism to shutdown the Jetty server

Closed this issue · 2 comments

I need to make sure the destroy() methods of my servlets are behaving 
correctly.  Idem for the ServletContext listeners. 

This is very important in the webapp development to make sure application can 
be shutdown properly without any leak (e.g. thread leak, classloader leaks)

I was wondering if there's a way to trigger server shutdown somehow in the 
current version of RJR.  If not, it would be a nice addition.  

stop-jetty-stop? :-)

Original issue reported on code.google.com by jpgari...@gmail.com on 14 May 2013 at 4:23

I guess the command mentioned in our [[UserGuide]] is what you are looking for,
hope it helps.

---
Type "q" in the console and hit Enter
To cause a graceful Jetty shutdown.

Type "r" in the console and hit Enter
To redeploy the application in the running container.


Original comment by tonylovejava on 14 May 2013 at 7:02

  • Changed state: More-Info
Oh! Thanks.

Original comment by jpgari...@gmail.com on 14 May 2013 at 7:41