You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Xilai Dai (JIRA)" <ji...@apache.org> on 2018/05/29 03:54:00 UTC

[jira] [Commented] (KARAF-5363) Add --no-start option to kar:install, kar cfg and kar MBean

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

Xilai Dai commented on KARAF-5363:
----------------------------------

The noAutoStartBundles property in the org.apache.karaf.kar.cfg not work as expected.

Reproduce steps:
1) setting noAutoStartBundles=true in the etc/org.apache.karaf.kar.cfg
2) start container, deploy a kar file into deploy folder
3) the bundle defined in the kar should keep "Resolved" than "Active". but in fact, the bundle is started with "Active" status.

> Add --no-start option to kar:install, kar cfg and kar MBean
> -----------------------------------------------------------
>
>                 Key: KARAF-5363
>                 URL: https://issues.apache.org/jira/browse/KARAF-5363
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-kar
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.1.3, 4.2.0.M1
>
>
> In order to give complete control to the kar users, it would be great to have an option to leave the bundles in resolved state (and don't try to start them) when installing a kar (for instance libraries installed via kar file).
> The {{--no-start}} option could be added to {{kar:install}} command, the {{etc/org.apache.karaf.kar.cfg}} file and also an option to the Kar MBean.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)