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

StopTimeout flag not applied when using ProcRun

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.2.3
    • 1.3.0
    • prunsrv
    • None
    • Windows 2019 x64

    • Important

    Description

      Problem steps

      • Create a service using Apache Commons Daemon (include 'StopTimeout=30') as parameter when installing the service with PRUNSRV
      • Let the service class have a Thread that never closes properly
      • Shut down service

      Observe that the service cannot be stopped and waits indefinitely, until prunsrv.exe is killed using Task Manager.

      Could this please be improved in the next version of Apache Commons Daemon? This problemĀ  does not help where applications may require forceful exit, due to coding bugs, making the service experience degraded as closing the service never times out.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              japie.vdlinde Japie vd Linde
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: