Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17212

Server process is not killed if shutdown script fails or is empty with Deploy-only server adapter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.2.0.Final
    • 4.2.0.Beta1
    • server
    • None

      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:

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

      The shutdown should default to process kill even if the shutdown script is empty.

            rob.stryker Rob Stryker (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: