[
https://issues.jboss.org/browse/JBOSGI-584?page=com.atlassian.jira.plugin...
]
David Bosschaert updated JBOSGI-584:
------------------------------------
Description:
(Observed in AS7.2.0 Alpha 1)
Deploy
[
geronimo-servlet_3.0_spec-1.0.jar|http://search.maven.org/remotecontent?f...]
This bundle 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/...]
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}
was:
(Observed in AS7.2.0 Alpha 1)
Deploy
[
geronimo-servlet_3.0_spec-1.0.jar|http://search.maven.org/remotecontent?f...]
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/...]
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}
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?f...]
This bundle 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/...]
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