Bug 1038229 - 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
Summary: Cannot fireAllRules of a rule task in a process via remote JMS kie client du...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER6
: 6.0.0
Assignee: Marco Rietveld
QA Contact: Jiri Svitak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-04 16:33 UTC by Jiri Svitak
Modified: 2016-09-20 05:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:13:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
server.log (80.31 KB, text/plain)
2013-12-04 16:33 UTC, Jiri Svitak
no flags Details

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).


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