[jbosstools-issues] [JBoss JIRA] (JBIDE-17212) Server process is not killed if shutdown script fails or is empty with Deploy-only server adapter

Martin Malina (JIRA) issues at jboss.org
Tue Apr 29 06:40:33 EDT 2014


Martin Malina created JBIDE-17212:
-------------------------------------

             Summary: 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.0.Beta2


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list