karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Niehues (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4839) Infinite System bundle restart on feature deployment
Date Wed, 23 Nov 2016 09:58:58 GMT
Christian Niehues created KARAF-4839:
----------------------------------------

             Summary: Infinite System bundle restart on feature deployment
                 Key: KARAF-4839
                 URL: https://issues.apache.org/jira/browse/KARAF-4839
             Project: Karaf
          Issue Type: Bug
          Components: karaf-feature
    Affects Versions: 4.0.7
            Reporter: Christian Niehues


I tried to use the drools/jbpm framework and noticed that it results in a infinite restart
of the System bundle when I restart the server after installation of the feature.

I reduced my installed featured to a minimum to reproduce the issue.

Here is how to reproduce it:
- use a fresh karaf 4.0.7
- copy the feature descriptor below into deploy folder
- start karaf
- feature:install osgi-test
- shutdown karaf
- start karaf 

After some seconds it should start to prompt out the startup message again symbolizing a System
bundle restart.

<features name="osgi-test" xmlns="http://karaf.apache.org/xmlns/features/v1.3.0">
    <repository>mvn:org.apache.camel.karaf/apache-camel/2.17.3/xml/features</repository>
    <repository>mvn:org.drools/drools-karaf-features/6.5.0.Final/xml/features</repository>
    <repository>mvn:org.hibernate/hibernate-osgi/5.2.3.Final/xml/karaf</repository>
    <feature name='osgi-test' description='osgi-test-feature' version='1.0.0'>
        <feature prerequisite="true">wrap</feature>
        <feature>jpa</feature>
        <feature>hibernate-orm</feature>
        <feature>camel-cxf</feature>
        <feature>drools-module</feature>
    </feature>
</features>



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

Mime
View raw message