Bug 1310708 - Exception when creating container with kie-api dependency in kjar
Summary: Exception when creating container with kie-api dependency in kjar
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Kie-Server
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER1
: 6.3.0
Assignee: Edson Tirelli
QA Contact: Karel Suta
URL:
Whiteboard:
Depends On:
Blocks: 1310889
TreeView+ depends on / blocked
 
Reported: 2016-02-22 14:58 UTC by Karel Suta
Modified: 2020-03-27 20:01 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
: 1310889 (view as bug list)
Environment:
Last Closed: 2020-03-27 20:01:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Stacktrace (7.74 KB, text/plain)
2016-02-22 14:58 UTC, Karel Suta
no flags Details

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


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