Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Alpha
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: Solaris
      Platform: Sun

      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.

        Activity

        Hide
        william.barker added a comment -

        Created an attachment (id=8874)
        Patch that prevents the double-callback

        Show
        william.barker added a comment - Created an attachment (id=8874) Patch that prevents the double-callback
        Hide
        william.barker added a comment -

        Fixed now in the CVS, and should appear in the next release.

        Show
        william.barker added a comment - Fixed now in the CVS, and should appear in the next release.

          People

          • Assignee:
            Unassigned
            Reporter:
            Peter Poloha
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development