Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4839

Infinite System bundle restart on feature deployment

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.7
    • Fix Version/s: 4.1.0, 4.0.8
    • Component/s: karaf
    • Labels:
      None

      Description

      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>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                cniehues Christian Niehues
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: