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

signal handling on Solaris 5.8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0 Alpha
    • 1.0.2
    • None
    • None
    • Operating System: Solaris
      Platform: Sun

    • 24247

    Description

      in the handler() function (jsvc-unix.c) is after catching the relevant signal
      the flag stopping set and the handler tries to call itself once again (over the
      func.pointer handler_xxx). In this case, the stop/restart daemon doesn't work
      correctly on Solaris, and ends with a status 143 (129) instead of 0 (123),
      without calling a java_stop()/java_destroy().

      If those duplicate calls from handler are removed, the daemon stop/restart works
      fine and correct.

      Attachments

        Activity

          People

            Unassigned Unassigned
            peter.poloha@nextra.sk Peter Poloha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: