Description of problem: While https://bugzilla.redhat.com/show_bug.cgi?id=1299549 fixed the performance problems, unfortunately other problems, in particular custom-type serialization, were caused by the change. Version-Release number of selected component (if applicable): 6.3.0 and 6.2.0. This BZ is for 6.3.0 How reproducible: Always Steps to Reproduce: 1. Do a REST operation Actual results: Not all REST calls are completing correctly. The 2 most common issues are either: - "Caused by: javax.xml.bind.PropertyException: property "com.ibm.jtc.jax.xml.bind.marshaller.CharacterEscapeHandler" must be an instance of type com.ibm.jtc.jax.xml.bind.marshaller.CharacterEscapeHandler, not org.kie.services.client.serial" - REST operations involving custom-type (user-defined) serialization fail Expected results: All REST calls complete successfully. Additional info:
"Fixed". This is a configuration problem (see the next comment). Documentation PR: https://github.com/droolsjbpm/kie-wb-distributions/pull/268
See https://bugzilla.redhat.com/show_bug.cgi?id=1299549#c13
Documentation text submitted. PR's submitted: https://github.com/droolsjbpm/droolsjbpm-integration/pull/442 https://github.com/droolsjbpm/kie-wb-distributions/pull/268
Fixed. Commits: 6.4.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/224900cc https://github.com/droolsjbpm/kie-wb-distributions/commit/adb0979e
It seems that these commits fix the bug only partially. I have just tested it on the latest snapshot and while REST client calls with custom types work without any problems, direct REST calls still fail with the same exception: org.kie.remote.services.exception.KieRemoteServicesDeploymentException: Could not unmarshall user-defined class instance parameter of type...
Documented as a known issue for 6.3. We will adjust the documentation once a permanent fix is found.
The tests that failed on the snapshot passed on the latest productized build so the issue is completely fixed. Verified on BPM Suite 6.3.0 CR1