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

Karaf doesn't start after not clean reboot, because stored PID corresponds to running process

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.2, 4.2.0.M1
    • Component/s: None
    • Labels:
      None

      Description

      If Karaf is shut down in a disorderly way – a VM is terminated for example, or there is a power failure, then on occasion it will fail to restart when the host starts. The problem is that the stored PID in instance.properties might correspond to that of a process that is already running but is not the karaf one.

      step to reproduce it:

      • Find a PID from an already running process (which is not the karaf one) and place it in instances/instance.properties file as value of item.0.pid key
      • Try to start karaf with bin/karaf (or bin karaf.bat)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: