Bug 1079348 - Business-central cannot be deployed to WebSphere application server because of UnsatisfiedResolutionException : ksession1
Summary: Business-central cannot be deployed to WebSphere application server because o...
Keywords:
Status: CLOSED DUPLICATE of bug 1060747
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Maciej Swiderski
QA Contact: Radovan Synek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-21 12:57 UTC by Radovan Synek
Modified: 2014-03-21 15:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-21 15:34:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
stacktrace (11.35 KB, text/plain)
2014-03-21 12:57 UTC, Radovan Synek
no flags Details

Description Radovan Synek 2014-03-21 12:57:56 UTC
Created attachment 877254 [details]
stacktrace

Description of problem:
After deploying the business-central to WAS, the "start" operation failed, because of javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.kie.api.runtime.KieSession] is not found with the qualifiers 
Qualifiers: [@org.kie.api.cdi.KSession(name=, value=ksession1)]
for injection into 
 Field Injection Point, field :  org.kie.api.runtime.KieSession org.drools.workbench.common.services.rest.JobRequestApprovalService.ksession

see the complete stacktrace in the attachment.

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

Additional info:
Even modifying the drools-wb-rest-defaultapprover.jar/META-INF/kmodule.xml and making the ksession1 default did not help.

Comment 1 manstis 2014-03-21 13:06:58 UTC
I believe you have already made the fix for this.

Comment 2 Maciej Swiderski 2014-03-21 14:20:00 UTC
correct it was fixed as part of these commits:
drools-wb
master:
https://github.com/droolsjbpm/drools-wb/commit/9691a792f5ae0c67491eaa4cbbfdfc3c4325233b

6.0.x:
https://github.com/droolsjbpm/drools-wb/commit/2290a04b73ad036e467e03c2c02570f8021bcb10

although there seems to be a bug in CDI implementation used by WAS, see details in bz https://bugzilla.redhat.com/show_bug.cgi?id=1060747

I would vote for closing this as duplicate of 1060747, but I leave decision to QE so move it to modified for now.

Comment 3 Radovan Synek 2014-03-21 15:32:41 UTC
Maciej,

thanks for the commit, it is missing in 6.0.1.CR1 which explains why it still doesn't work.

Comment 4 Radovan Synek 2014-03-21 15:34:48 UTC

*** This bug has been marked as a duplicate of bug 1060747 ***


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