Quantcast
Channel: JetBrains Developer Community : All Content - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5481

How to gracefully shutdown jetty in intelliJ idea 13?

$
0
0

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).


Viewing all articles
Browse latest Browse all 5481