Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-372

create shutdown event for shutdown process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.15
    • 1.1.0
    • Procrun
    • None
    • Windows

    Description

      On Windows, when using Java or exe modes, if the service process ends before the stop process, prunsrv starts clean up.
      When the stop process finishes, the handles might be freed and all sorts of illegal access errors may happen.
      The solution is to make the service execution to wait on the shutdown event.

      https://github.com/apache/commons-daemon/pull/4

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              serozaki Sérgio Ozaki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: