Bug 1079348

Summary: Business-central cannot be deployed to WebSphere application server because of UnsatisfiedResolutionException : ksession1
Product: [Retired] JBoss BRMS Platform 6 Reporter: Radovan Synek <rsynek>
Component: Business CentralAssignee: Maciej Swiderski <mswiders>
Status: CLOSED DUPLICATE QA Contact: Radovan Synek <rsynek>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: rrajasek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-21 15:34:48 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:
Attachments:
Description Flags
stacktrace none

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 ***