karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie goodyear (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-972) KARAF_OPTS is not propagated to start command in admin script
Date Fri, 28 Oct 2011 15:41:32 GMT

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

Jamie goodyear commented on KARAF-972:
--------------------------------------

Applied patch for trunk as supplied by Jon Anstey.

$ svn ci
Sending        admin/command/src/main/java/org/apache/karaf/admin/main/Execute.java
Sending        admin/core/src/main/java/org/apache/karaf/admin/internal/InstanceImpl.java
Transmitting file data ..
Committed revision 1190403.
                
> KARAF_OPTS is not propagated to start command in admin script
> -------------------------------------------------------------
>
>                 Key: KARAF-972
>                 URL: https://issues.apache.org/jira/browse/KARAF-972
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.1.6, 2.2.4
>            Reporter: Jonathan Anstey
>            Assignee: Jamie goodyear
>         Attachments: propagateKarafOpts-2.1.x.patch, propagateKarafOpts-2.2.x.patch,
propagateKarafOpts-trunk.patch
>
>
> You can use KARAF_OPTS to set extra properties for your Karaf process when using bin/karaf.
However, even though KARAF_OPTS is defined and used in bin/admin, the extra properties do
not make it to the start command. The start command creates a new process so Karaf needs to
propagate the KARAF_OPTS values to this new process. Attaching patches shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message