Re: [jetty-users] Restarting webapp programmatically?

2011-07-19 Thread John English
On 19/07/2011 03:55, Jan Bartel wrote: John, If you have called Server.setGracefulShutdown(int ms) the shutdown should not cause much disruptions to users, as it will stop the connectors accepting any new connections and then wait the designated number of ms for existing requests to drain out

[jetty-users] Restarting webapp programmatically?

2011-07-18 Thread John English
I have a webapp running on Jetty 7, and I can update it by copying new class files to WEB-INF/classes and then restarting the server. This can cause problems if any users are connected at the time. What I'd like to be able to do is set a flag to ask the webapp to restart and use a