Bug 1112263

Summary: WAS: wrong configuration of UserGroupInfoProducer in beans.xml
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: Business CentralAssignee: Julian Coleman <jcoleman>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: urgent Docs Contact:
Priority: high    
Version: unspecifiedCC: jcoleman, kverlaen, porcelli, rrajasek
Target Milestone: CR2   
Target Release: 6.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:50:26 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
Screenshot of .war content none

Description Jan Hrcek 2014-06-23 12:48:40 UTC
Description of problem:
It is impossible to assign tasks created in task list when BPMS deployed on IBM Web Sphere.

There is a misconfiguration in jboss-bpms-6.0.2.GA-redhat-5-deployable-was8/business-central/WEB-INF/beans.xml
which contains:
<alternatives><class>org.jbpm.kie.services.cdi.producer.DefaultUserGroupInfoProducer</class></alternatives>

In previous version (6.0.2 ER1), where it worked correctly the beans.xml contained:
<alternatives>
    <class>org.jbpm.kie.services.cdi.producer.JAASUserGroupInfoProducer</class>
  </alternatives>

How reproducible:
Always

Steps to Reproduce:
1. Deploy BPMS distribution for WAS on WAS
2. Login with some user, go to task list and try creating new task

Actual results:
Task is not created and you get modal with message akin to "user of group 'null' does not exist"

Expected results:
It should be possible to create a task without errors.

Additional info:
This seems like some mistake in the productization process, because 6.0.x community sources contain correct configuration: https://github.com/droolsjbpm/kie-wb-distributions/blob/6.0.x/kie-wb/kie-wb-distribution-wars/src/main/was8/WEB-INF/beans.xml

Comment 5 Alexandre Porcelli 2014-06-23 19:25:14 UTC
Created attachment 911555 [details]
Screenshot of .war content

Comment 12 Jan Hrcek 2014-06-25 14:51:53 UTC
Ok, verified with the rebuilt WAS distribution, problem has been fixed.