You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/03/24 05:16:41 UTC
[jira] [Commented] (KARAF-4260) Setting karaf.clean.all = true
breaks service wrapper service script
[ https://issues.apache.org/jira/browse/KARAF-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15939823#comment-15939823 ]
ASF subversion and git services commented on KARAF-4260:
--------------------------------------------------------
Commit 8e62450665d3f374fc791d1d0c4f96f210a9975d in karaf's branch refs/heads/master from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=8e62450 ]
[KARAF-4260] Use karaf.base to store the wrapper PID to avoid issue with clean.all start
> Setting karaf.clean.all = true breaks service wrapper service script
> --------------------------------------------------------------------
>
> Key: KARAF-4260
> URL: https://issues.apache.org/jira/browse/KARAF-4260
> Project: Karaf
> Issue Type: Bug
> Components: karaf-config
> Affects Versions: 4.0.3
> Reporter: Ralf Steppacher
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: 4.0.9, 4.1.1
>
>
> The Karaf service wrapper script is generated such that the PID file is created in {{$KARAF_HOME/data}}. When setting {{karaf.clean.all = true}} then the PID file created by the service script gets deleted together with the data directory. As a result of this the service script reports Karaf as not running and it is not possible to stop the process via the script.
> The PID file location probably should be outside the data directory by default.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)