You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Eclipse IDE is closed after a server was started using the dashboard, the JVM running mvn liberty:dev is shut down, however the Liberty server JVM is left running.
It looks like there is a ShutdownHook within the dev mode ci.common/ci.maven projects so not sure why this isn't doing the job.
The text was updated successfully, but these errors were encountered:
Confirmed in debugger that, in Win10, doing a clean exit of Eclipse does NOT result in the LMP ShutdownHook getting control. This ShutdownHook is what stops the Liberty server JVM in the case of a Ctrl+C. Thinking we have to clean up in LibertyDevPlugin.stop(BundleContext).
Curious though what happens on Mac. Does the ShutdownHook actually get control or does..something else clean it up???
I think we need to try to do a server stop. A server kill is disruptive, leading to unexpected issues like OpenLiberty/ci.maven#1536.
We should code up a server stop and then work with the LMP/LGP teams to see if it's OK to leave it at that or if we also need to do the rest of the cleanup in ci.common DevUtil.
scottkurz
changed the title
When Eclipse IDE is closed, server JVM started via dev mode dashboard is left running
On Windows, when Eclipse IDE is closed, server JVM started via dev mode dashboard is left running
Jan 17, 2023
When the Eclipse IDE is closed after a server was started using the dashboard, the JVM running
mvn liberty:dev
is shut down, however the Liberty server JVM is left running.It looks like there is a ShutdownHook within the dev mode ci.common/ci.maven projects so not sure why this isn't doing the job.
The text was updated successfully, but these errors were encountered: