Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-7259

Use Windows taskkill in service.bat

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Scripts
    • None

      The $WILDFLY_HOME/bin/service.bat script is implementing service stop by launching a CLI process to send a shutdown op to the server process. This differs from how we handle service stop on *nix, where we use kill -15 to sent a SIGTERM to the JVM and stop via our shutdown hook. Investigate whether Windows taskkill can be used instead.

      https://superuser.com/questions/959364/on-windows-how-can-i-gracefully-ask-a-running-program-to-terminate

              lvydra Lukas Vydra
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: