Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3923

Infinispan bundle resolution fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Trivial
    • 5.2.10.Final
    • 5.2.8.Final, 6.0.0.Final
    • Core
    • Workaround Exists
    • Hide

      In order to make work infinispan in Eclipse Virgo I need to rewrite the jar manifest with bundlor and the following manifest file :

      Bundle-ManifestVersion: 2
      Bundle-SymbolicName: org.infinispan.commons
      Bundle-Name: org.infinispan.commons
      Bundle-Vendor: JBoss
      Bundle-Version: 6.0.0.Final
      Import-Package:
      javax.naming,
      javax.net.ssl,
      net.jcip.annotations;resolution:=optional,
      org.jboss.logging;version="[3.1,4)",
      org.jboss.marshalling;resolution:=optional,
      org.jboss.marshalling.reflect;resolution:=optional,
      org.jboss.marshalling.river;resolution:=optional,
      org.osgi.framework;version="[1.6,2)";resolution:=optional

      Show
      In order to make work infinispan in Eclipse Virgo I need to rewrite the jar manifest with bundlor and the following manifest file : Bundle-ManifestVersion: 2 Bundle-SymbolicName: org.infinispan.commons Bundle-Name: org.infinispan.commons Bundle-Vendor: JBoss Bundle-Version: 6.0.0.Final Import-Package: javax.naming, javax.net.ssl, net.jcip.annotations;resolution:=optional, org.jboss.logging;version="[3.1,4)", org.jboss.marshalling;resolution:=optional, org.jboss.marshalling.reflect;resolution:=optional, org.jboss.marshalling.river;resolution:=optional, org.osgi.framework;version="[1.6,2)";resolution:=optional

    Description

      In bundle infinispan-commons-6.0.0.Final, the MANIFEST file contains sun.misc import. This package is a system package which is in the boot delegation package list and consequently should not be imported by bundles as it is managed by JVM boot classloader (http://wiki.osgi.org/wiki/Boot_Delegation) ...

      I guess that sun.misc is also a bootdelegated package in many other OSGI container like Apache Felix so the sun.misc package should be remove from import list.

      Attachments

        Activity

          People

            brmeyer_jira Brett Meyer (Inactive)
            ffrench.mathilde Mathilde Ffrench (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: