[
https://issues.apache.org/jira/browse/KARAF-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508576#comment-13508576
]
Dan Tran commented on KARAF-1180:
---------------------------------
comments from user list
Andreas Pieber
Nov 29 (4 days ago)
to Apache
OK, I think this is a completely different problem I would rather
like to discuss on a different thread. But my short analyses here: if
you give main a shot, you'll notice that there's already some
exit-code/restart logic... a new var cold_restart which will set a
fixed exit code (e.g. 99) would do the job. WDYT?
Kind regards,
Andreas
> Ability to exit karaf with a predictable exit code
> --------------------------------------------------
>
> Key: KARAF-1180
> URL: https://issues.apache.org/jira/browse/KARAF-1180
> Project: Karaf
> Issue Type: New Feature
> Components: karaf-core
> Affects Versions: 2.2.5, 3.0.0
> Environment: windows/unixes
> Reporter: Dan Tran
>
> http://karaf.922171.n3.nabble.com/Ability-to-self-restart-karaf-WAS-Infamous-permgen-leak-td3589167.html
> Per above discussion there is a way to shutdown karaf thru its services.
> However It is crucial to ask Karaf to shutdown with the known exit code so
> that the launcher ( ie jsw wrapper ) can react programtically, like restart
> karaf, replace karaf, replace jre...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira