]
Thomas Diesler resolved JBOSGI-624.
-----------------------------------
Resolution: Rejected
This fundamental functionality is verified by our internal test suite and the OSGi TCK.
Perhaps you are not defining the package capability version on the package directive
Bundle importing the package of multiple versions isn't
supported
-----------------------------------------------------------------
Key: JBOSGI-624
URL:
https://issues.jboss.org/browse/JBOSGI-624
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Hari Ohm Prasath
Assignee: Thomas Diesler
Labels: OSGI
I have a OSGI service bundle with Bundle-Version as "1.0.0" in which i have
exported this particular package "com.example.test" and I have a OSGI web client
where i am importing this package with version as "[1.0.0,2.0.0]" (i.e)
Import-Package:com.example.test;version:[1.0.0,3.0.0]. Now when i start the client bundle
after the service bundle I am getting this exception:
13:21:36,952 WARN [org.jboss.as.osgi] (MSC service thread 1-10) JBAS011910: Can
not resolve requirements:
[XPackageRequirement[atts={osgi.wiring.package=com.example.test,
version=[1.0.0,2.0.0]},[TestServlet:0.0.0]]]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: