]
Rob Stryker updated JBIDE-17212:
--------------------------------
Fix Version/s: 4.2.x
(was: 4.2.0.Beta3)
Server process is not killed if shutdown script fails or is empty
with Deploy-only server adapter
-------------------------------------------------------------------------------------------------
Key: JBIDE-17212
URL:
https://issues.jboss.org/browse/JBIDE-17212
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server
Affects Versions: 4.2.0.Beta1
Reporter: Martin Malina
Assignee: Rob Stryker
Fix For: 4.2.x
As you said in JBIDE-7515, when you specify startup and shutdown scripts with a
deploy-only server, the server process should be killed if the shutdown script fails. But
that is not the case.
From JBIDE-7515:
{quote}
I left the shutdown script empty.
You said that if the shutdown script fails, the process ID will be killed. Maybe
technically an empty command does not fail, but I believe in this case the running java
process should still be killed and it isn't.
In fact, it doesn't work even if I put something that will fail there, e.g.
"exit 1".
{quote}
The shutdown should default to process kill even if the shutdown script is empty.