Bug 1310708

Summary: Exception when creating container with kie-api dependency in kjar
Product: [Retired] JBoss BRMS Platform 6 Reporter: Karel Suta <ksuta>
Component: Kie-ServerAssignee: Edson Tirelli <etirelli>
Status: CLOSED EOL QA Contact: Karel Suta <ksuta>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: alazarot, etirelli, lpetrovi
Target Milestone: ER1   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1310889 (view as bug list) Environment:
Last Closed: 2020-03-27 20:01:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1310889    
Attachments:
Description Flags
Stacktrace none

Description Karel Suta 2016-02-22 14:58:21 UTC
Created attachment 1129334 [details]
Stacktrace

Description of problem:
When I try to create container on Kie server from kjar which depends on OSGI - for example on kie-api, I get exception showed in attachment.


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

How reproducible:
Create kjar which contains dependency on kie-api. Deploy kjar to Kie server.


Actual results:
Error listed in attachment is thrown.

Expected results:
Kjar is successfully deployed.

Additional info:

Comment 2 Edson Tirelli 2016-02-22 15:09:01 UTC
Does it happen with any OSGified dependency jar or only with kie-api?

Comment 3 Karel Suta 2016-02-22 15:20:32 UTC
Do you know any OSGified dependency which I could use to check it? Or how can I try it

Comment 4 Maciej Swiderski 2016-02-25 10:21:05 UTC
this is already fixed for master and 6.4.x as part of https://bugzilla.redhat.com/show_bug.cgi?id=1296017

something that was already mentioned to docs team is that dependencies:
- org.kie
- org.drools
- org.jbpm

are always declared as provided as they are provided by both business central and kie server and thus should never be duplicated on ProjectClassLoader level

Comment 5 Karel Suta 2016-03-21 12:07:39 UTC
Verified in 6.3.0ER1