Bug 1038229

Summary: Cannot fireAllRules of a rule task in a process via remote JMS kie client due to: Unable to load JAXB class 'com.bpms.flood.model.Request
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jiri Svitak <jsvitak>
Component: Business CentralAssignee: Marco Rietveld <mrietvel>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Svitak <jsvitak>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: kverlaen, mbaluch, smcgowan
Target Milestone: ER6Keywords: TestBlocker
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:13:27 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
server.log none

Description Jiri Svitak 2013-12-04 16:33:04 UTC
Created attachment 832744 [details]
server.log

I have a simple process [1] with just one rule [2] task (and of course start and end events). I have also a unit test for this scenario [3]. I deploy the kjar with this process in business-central. In my client application I use official kie JMS client [4]. Some classes cannot be classloaded on the server, even if they are present in the imported git repository:

Caused by: org.kie.services.client.serialization.SerializationException: Unable to load JAXB class 'com.bpms.flood.model.Request

See the attached server log. Client ends just with this error msg:
Caused by: java.lang.InterruptedException
	at java.lang.Object.wait(Native Method)
	at org.hornetq.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:259)


To reproduce:
1.) Download BPMS 6 ER5 and merge it with EAP 6.1.1 distribution.
2.) Add user guest, password guest into EAP config files:
application-users.properties:  guest=b5d048a237bfd2874b6928e1f37ee15e
application-roles.properties:  guest=kie-user,admin
3.) Setup datasource for BPMS, I used PostgreSQL. Make sure the db is empty before the test. Do not use the default H2.
4.) Start the server and go to http://localhost:8080/business-central.
5.) Clone repository git://git.app.eng.bos.redhat.com/bpms-assets.git to your BPMS installation.
6.) Build&Deploy a project bpms-perf from the bpms-assets.git repo.
7.) Run the performance framework:
git clone git://git.app.eng.bos.redhat.com/jbossqe-process-flood.git
cd jbossqe-process-flood/bpms-6.x
./execute_scenario.sh -Dscenario=RuleTask_kieJMS



[1] http://git.app.eng.bos.redhat.com/jbossqe-process-flood.git/tree/bpms-6.x/src/main/resources/RuleTask.bpmn2
[2] http://git.app.eng.bos.redhat.com/jbossqe-process-flood.git/tree/bpms-6.x/src/main/resources/RuleTask.drl
[3] http://git.app.eng.bos.redhat.com/jbossqe-process-flood.git/tree/bpms-6.x/src/test/java/com/bpms/flood/RuleTaskTest.java
[4] http://git.app.eng.bos.redhat.com/jbossqe-process-flood.git/tree/bpms-6.x/src/main/java/org/perfcake/message/sender/remote/AdvancedJMSKieSender.java

Comment 2 Jiri Svitak 2014-01-02 16:37:29 UTC
Verified in BPMS 6 ER7 (6.0.1-redhat-2).