Bug 1284006 - [SET] (6.4.z) JBosgi doesn't provide OSGI Execution Environment Capability
Summary: [SET] (6.4.z) JBosgi doesn't provide OSGI Execution Environment Capability
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: OSGi
Version: 6.4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Bartek Spyrko-Smietanko
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-20 14:15 UTC by Bartek Spyrko-Smietanko
Modified: 2015-11-23 14:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 14:19:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Reproducer (496.97 KB, application/zip)
2015-11-20 14:17 UTC, Bartek Spyrko-Smietanko
no flags Details

Description Bartek Spyrko-Smietanko 2015-11-20 14:15:58 UTC
Description of problem:

If an OSGI deployment contains a module using 'Require-Capability: osgi.ee' manifest header, the deployment fails with

"
16:48:38,102 WARN  [org.jboss.as.osgi] (MSC service thread 1-11) JBAS011910: Cannot resolve requirements: [AbstractBundleRequirement[atts={osgi.ee=osgi.ee},dirs={filter=(&(osgi.ee=JavaSE)(version=1.3))},[org.apache.commons.collections:3.2.1.redhat-5]]]
16:48:38,103 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015970: Defer FIRST_MODULE_USE for commons-collections.jar making it NEVER
16:48:38,103 WARN  [org.jboss.as.osgi] (MSC service thread 1-6) JBAS011910: Cannot resolve requirements: [XPackageRequirement[atts={osgi.wiring.package=org.apache.commons.collections.bag},[bundle-collections.war:0.0.0]]]
16:48:38,103 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015970: Defer FIRST_MODULE_USE for bundle-collections.war making it NEVER
"

This can be reproduced using org.jboss.as.test.integration.osgi.ear.CollectionsEnterpriseArchiveTestCase using commons-collections-3.2.1.redhat-5

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. change the 'version.commons-collections' property to 3.2.1.redhat-5 in jboss-eap/pom.xml
2. run the test: ./integration-tests.sh -DallTests -Dtest=CollectionsEnterpriseArchiveTestCase

Actual results:


Expected results:


Additional info:

Comment 1 Bartek Spyrko-Smietanko 2015-11-20 14:17:13 UTC
Created attachment 1097216 [details]
Reproducer

Comment 2 Bartek Spyrko-Smietanko 2015-11-20 14:19:17 UTC
Alternate reproducer:
1. Copy attached ear into standalone/deployment
2. Run ./bin/standalone.sh -c standalone-osgi.xml
3. Go to http://localhost:8080/bundle-collections/servlet


Note You need to log in before you can comment on or make changes to this bug.