karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4091) Support restarting the Karaf JVM and updating it's lib directory
Date Mon, 09 Nov 2015 21:41:11 GMT

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

Hiram Chirino commented on KARAF-4091:
--------------------------------------

See https://github.com/apache/karaf/pull/91

The karaf.restart.jvm.supported=true system property will be set if restarting the JVM is
supported. If karaf is shutdown and the karaf.restart.jvm=true system property is set, then
karaf will exit with error code = 10. The shell scripts will check for this error code and
restart Karaf.

On unix, sometimes it's desirable to give up this feature so that the JVM process can be 'exec'ed
by the shell script for simpler process management (For example if your running in a Docker
container). In these cases you can set the KARAF_EXEC=exec env var to return to the current
behavior of using exec to launch the java process.

> Support restarting the Karaf JVM and updating it's lib directory
> ----------------------------------------------------------------
>
>                 Key: KARAF-4091
>                 URL: https://issues.apache.org/jira/browse/KARAF-4091
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 4.1.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message