karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5206) Karaf doesn't start after not clean reboot, because stored PID corresponds to running process
Date Thu, 15 Jun 2017 08:49:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050176#comment-16050176
] 

ASF subversion and git services commented on KARAF-5206:
--------------------------------------------------------

Commit 5dfb8a3cf70d7e2b2f05eaabbdf99a4b35a9a38c in karaf's branch refs/heads/master from [~valdar]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=5dfb8a3 ]

[KARAF-5206] modified karaf and karaf.bat scripts to check pid and process name upon cheking
for already running instances


> 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
>            Assignee: Andrea Cosentino
>             Fix For: 4.2.0, 4.1.2
>
>
> 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)

Mime
View raw message