[jboss-osgi-issues] [JBoss JIRA] (JBOSGI-584) Bundle exporting the same package in multiple versions isn't supported

David Bosschaert (JIRA) jira-events at lists.jboss.org
Tue Aug 7 09:52:06 EDT 2012


David Bosschaert created JBOSGI-584:
---------------------------------------

             Summary: Bundle exporting the same package in multiple versions isn't supported
                 Key: JBOSGI-584
                 URL: https://issues.jboss.org/browse/JBOSGI-584
             Project: JBoss OSGi
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Core Framework
    Affects Versions: JBossOSGi 1.1.1
            Reporter: David Bosschaert
            Assignee: Thomas Diesler


(Observed in AS7.2.0 Alpha 1)
Deploy [geronimo-servlet_3.0_spec-1.0.jar|http://search.maven.org/remotecontent?filepath=org/apache/geronimo/specs/geronimo-servlet_3.0_spec/1.0/geronimo-servlet_3.0_spec-1.0.jar]
This jar file exports javax.servlet in versions 2.6 and 3.0

Then deploy [pax-web-spi-1.0.3.jar|http://search.maven.org/remotecontent?filepath=org/ops4j/pax/web/pax-web-spi/1.0.3/pax-web-spi-1.0.3.jar]

and you'll get:
{code}14:42:57,298 WARN  [org.jboss.as.osgi] (MSC service thread 1-1)
JBAS011910: Cannot resolve requirements: [XPackageRequirement[atts
{osgi.wiring.package=javax.servlet, version=[2.3.0,3.0.0)},
[org.ops4j.pax.web.pax-web-spi:1.0.3]]]{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-osgi-issues mailing list