Bug 1284006 - [SET] (6.4.z) JBosgi doesn't provide OSGI Execution Environment Capability
[SET] (6.4.z) JBosgi doesn't provide OSGI Execution Environment Capability
Status: CLOSED WONTFIX
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: OSGi (Show other bugs)
6.4.5
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Bartek Spyrko-Smietanko
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-20 09:15 EST by Bartek Spyrko-Smietanko
Modified: 2015-11-23 09:19 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-23 09:19:18 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Bartek Spyrko-Smietanko 2015-11-20 09:15:58 EST
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 09:17 EST
Created attachment 1097216 [details]
Reproducer
Comment 2 Bartek Spyrko-Smietanko 2015-11-20 09:19:17 EST
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.