alwayswill / run-jetty-run

Automatically exported from code.google.com/p/run-jetty-run
0 stars 0 forks source link

Mechanism to shutdown the Jetty server #169

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Oh! Thanks.

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