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

Achim Finke edited comment on KARAF-3739 at 5/26/15 1:45 PM:
-------------------------------------------------------------

The infinite loop mentioned by [[email protected]] can be produced by 
adding staged boot, webconsole and eventadmin feature in the following way.
{code:xml}
featuresBoot = \
    (aries-blueprint, \
    bundle, \
    config, \
    deployer, \
    diagnostic, \
    feature, \
    instance, \
    jaas, \
    kar, \
    log, \
    management, \
    package, \
    service, \
    shell, \
    shell-compat, \
    ssh, \
    system, \
    wrap, \
    webconsole), \
    eventadmin
{code}

The bundle org.apache.felix.metatype seems to be responsible for the loop 
behaviour as webconsole feature can be replaced by this 'infinite-loop-feature'.

{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.3.0"; name="bugs">

    <feature name="infinite-loop-feature" version="${project.version}">
        <bundle start-level="30">
            mvn:org.apache.felix/org.apache.felix.metatype/1.0.10
        </bundle>
    </feature>

</features>
{code}


was (Author: afinke):
The infinite loop mentioned by [[email protected]] can be produced by 
adding staged boot, webconsole and eventadmin feature in the following way.
{code:xml}
featuresBoot = \
    (aries-blueprint, \
    bundle, \
    config, \
    deployer, \
    diagnostic, \
    feature, \
    instance, \
    jaas, \
    kar, \
    log, \
    management, \
    package, \
    service, \
    shell, \
    shell-compat, \
    ssh, \
    system, \
    wrap, \
    webconsole), \
    eventadmin
{code}

> Add eventadmin feature as featuresBoot in standard distribution
> ---------------------------------------------------------------
>
>                 Key: KARAF-3739
>                 URL: https://issues.apache.org/jira/browse/KARAF-3739
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0.M3
>
>
> In order to avoid shell console restart when installing eventadmin, and as 
> lot of modules now uses eventadmin, it makes sense to install eventadmin 
> feature by default in the standard distribution.



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

Reply via email to