Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1257

Package name exported from weld osgi manadatory bundle is not correct

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 1.2.0.Beta1
    • OSGi support
    • None

    Description

      When weld osgi bundles are deployed in Apache Karaf 2.2.3, the following error is generated :

      Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.jboss.weld.osgi.weld-osgi-core-integration [56]: Unable to resolve 56.0: missing requirement [56.0] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0))

      This comes from the fact that package name to be imported does not correspond to package names exported

      Exported by bundle weld osgi mandatory :

      54 javax.enterprise.inject; version=1.0.0

      Imported by bundle weld osgi extension/integration (by example)

      javax.inject;version=1.0.0

      Attachments

        1. weld-1257.diff
          1 kB
          Charles Moulliard

        Activity

          People

            Unassigned Unassigned
            cmoullia Charles Moulliard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: