How to gracefully shutdown jetty in intelliJ idea 13?
intelliJ idea 13 come with a jetty integration plugin, which can active jetty modules & run jetty's start.jar.
but when using this plugin to development, i found there is no way to shutdown the jetty gracefully.
every time i click close button in run/debug panel, it just kill the jvm rather send stop key to jetty daemon. it is difficult to debug shutdown code in such case.
how can i shutdown jetty gracefully in intelliJ?
BTW: the intelliJ-idea's tomcat integration have no such problems(it can shutdown tomcat gracefully and my shutdown code was invoked).
Please sign in to leave a comment.
On the Jetty panel, there are five buttons on the far left at the top:
Run
Stop
Update
Dump Threads
Exit (icon is a door with an arrow pointing to it)
Exit is the one you want to use.
On 6/24/14 6:30 AM, bob wen wrote:
>
>
>
you say "On the Jetty panel", but in my environment, there is no such panel, only application server panel, showing as blow:


could you give me more instruct?
Ahh. I'm using a Jetty configuration, which gives a Jetty specific panel
that has the buttons I listed. I'm not familiar with the panel you're
getting.
Sorry about that.
On 6/24/14 5:01 PM, bob wen wrote:
>
>