You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andrea Tarocchi (JIRA)" <ji...@apache.org> on 2017/06/14 15:56:00 UTC

[jira] [Created] (KARAF-5206) Karaf doesn't start after not clean reboot, because stored PID corresponds to running process

Andrea Tarocchi created KARAF-5206:
--------------------------------------

             Summary: Karaf doesn't start after not clean reboot, because stored PID corresponds to running process
                 Key: KARAF-5206
                 URL: https://issues.apache.org/jira/browse/KARAF-5206
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 4.1.1
            Reporter: Andrea Tarocchi


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) 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)