Bug 1300084 - [one-off] avoid the class loader being overridden by cxf dynamic client in WebServiceWorkItemHandler
[one-off] avoid the class loader being overridden by cxf dynamic client in We...
Status: ASSIGNED
Product: JBoss BPMS Platform 6
Classification: JBoss
Component: jBPM Core (Show other bugs)
6.0.3
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Gary Hu
Radovan Synek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-19 17:52 EST by Gary Hu
Modified: 2016-01-19 17:54 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Support Patch
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gary Hu 2016-01-19 17:52:46 EST
When use the WS service task in a process triggered by quartz timer, the following errors are thrown intermittently:

Caused by: java.lang.NoSuchMethodException: xxx(xxx)

Actually, the soap interface does implement the method it is complaining.

This is caused by cxf dynamic client that overrides the class loader set by jbpm. 

This one-off patch aims to fix the issue in class: org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler

The fix is done in https://github.com/droolsjbpm/jbpm/commit/36fb962e1c015b0bd6298c74b1804d790de61be4 which is applied in bpms 6.1.

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