Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2423

OSGi: hibernate feature defines a dependency which is not a bundle

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    Description

      Description of problem:

      Drools karaf features [1] define "hibernate" feature which depends on the following dependency:

      <bundle dependency="true">mvn:org.hibernate.common/hibernate-commons-annotations/4.0.1.Final-redhat-2</bundle>

      This dependency is not an OSGi bundle and cannot be deployed into Fuse:

      10:28:04,467 | WARN | FelixStartLevel | FeaturesServiceImpl | 22 - org.apache.karaf.features.core - 2.3.0.redhat-610379 | Error when installing feature hibernate: org.osgi.framework.BundleException: Jar is not a bundle, no Bundle-SymbolicName mvn:org.hibernate.common/hibernate-commons-annotations/4.0.1.Final-redhat-2

      As a result, Drools/jBPM JPA features cannot be started in Fuse (unless user installs Hibernate by different means than provided hibernate feature in [1]).

      [1] org/drools/drools-karaf-features/6.2.0.CR3-redhat-1/drools-karaf-features-6.2.0.CR3-redhat-1-features.xml

      Version-Release number of selected component (if applicable):

      BRMS 6.1.0.ER3
      Fuse 6.1

      How reproducible:
      always

      Steps to Reproduce:
      1. try to deploy hibernate feature specified in [1] into Fuse

      Actual results:
      Hibernate feature installation fails with

      10:28:04,467 | WARN | FelixStartLevel | FeaturesServiceImpl | 22 - org.apache.karaf.features.core - 2.3.0.redhat-610379 | Error when installing feature hibernate: org.osgi.framework.BundleException: Jar is not a bundle, no Bundle-SymbolicName mvn:org.hibernate.common/hibernate-commons-annotations/4.0.1.Final-redhat-2

      Expected results:
      Hibernate feature installs without errors.

      Attachments

        Activity

          People

            rzhang+1@redhat.com Cheng Zhang (Inactive)
            mwinkler@redhat.com Marek Winkler (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson
            Marek Winkler Marek Winkler (Inactive)
            Marek Winkler Marek Winkler (Inactive)
            Alessandro Lazarotti, Kris Verlaenen, Marek Winkler (Inactive), Rajesh Rajasekaran

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty