Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4330

Instance script doesn't return correct PID number if root instance is started two times

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.5, 4.0.4
    • Fix Version/s: 4.1.0, 4.0.5
    • Component/s: karaf
    • Labels:
      None

      Description

      Use case:

      • Run a first Karaf root instance
      • Check the PID with instance script
      • Run a second Karaf root instance, the script will hang as expected
      • Check the PID with the instance script. The PID will be the one from the second instance even if it's not started correctly and it's hanging.
      • Kill the second instance
      • Check the PID with the instance script. The PID is now 0 and the status is stopped, but we have the first instance currently running.

      This is not a normal workflow, I see. Starting two times the root instance or two instances with the same instance name is not correct, but anyway it's something we should consider to manage.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ancosen Andrea Cosentino
                Reporter:
                ancosen Andrea Cosentino
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: