You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by chirino <gi...@git.apache.org> on 2015/11/09 22:38:56 UTC

[GitHub] karaf pull request: Fixes KARAF-4091: Support restarting the Karaf...

GitHub user chirino opened a pull request:

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

    Fixes KARAF-4091: Support restarting the Karaf JVM and updating it's …

    …lib directory
    
    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chirino/karaf-1 KARAF-4091

Alternatively you can review and apply these changes as the patch at:

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #91
    
----
commit 4d049857b059ff00b218875907ff163eecffed61
Author: Hiram Chirino <hi...@hiramchirino.com>
Date:   2015-11-09T21:00:16Z

    Fixes KARAF-4091: Support restarting the Karaf JVM and updating it's lib directory
    
    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.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] karaf pull request: Fixes KARAF-4091: Support restarting the Karaf...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---