Bug 1326805 - Serialization problems on websphere as a result of BZ-1299549
Summary: Serialization problems on websphere as a result of BZ-1299549
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: CR1
: 6.3.0
Assignee: Shelly McGowan
QA Contact: Lukáš Petrovický
Tomas 'Sheldon' Radej
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-13 12:46 UTC by Marco Rietveld
Modified: 2020-03-27 20:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When Business Central is installed on IBM WebSphere, direct REST calls involving user-defined classes fail due to a serialization issue. The only workaround is using the Java REST client (if possible).
Clone Of:
Environment:
Last Closed: 2020-03-27 20:13:39 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1299549 0 urgent CLOSED Performance degradation when using REST API on WebSphere 2021-02-22 00:41:40 UTC

Internal Links: 1299549

Description Marco Rietveld 2016-04-13 12:46:22 UTC
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:

Comment 1 Marco Rietveld 2016-04-13 14:08:17 UTC
"Fixed". This is a configuration problem (see the next comment). 

Documentation PR: 
https://github.com/droolsjbpm/kie-wb-distributions/pull/268

Comment 2 Marco Rietveld 2016-04-13 14:09:11 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=1299549#c13

Comment 5 Marco Rietveld 2016-04-20 11:39:54 UTC
Documentation text submitted. 

PR's submitted: 

https://github.com/droolsjbpm/droolsjbpm-integration/pull/442
https://github.com/droolsjbpm/kie-wb-distributions/pull/268

Comment 7 Tomas Livora 2016-04-21 13:57:16 UTC
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...

Comment 10 Tomas 'Sheldon' Radej 2016-04-25 12:16:45 UTC
Documented as a known issue for 6.3. We will adjust the documentation once a permanent fix is found.

Comment 11 Tomas Livora 2016-04-27 08:37:19 UTC
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


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