Bug 1316666 - [QE](6.2.z) osgi: use the same version of jaxb-impl as Fuse (2.2.11_1)
Summary: [QE](6.2.z) osgi: use the same version of jaxb-impl as Fuse (2.2.11_1)
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Fuse Integration
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: CR1
: 6.2.3
Assignee: Edson Tirelli
QA Contact: Lukáš Petrovický
Petr Penicka
URL:
Whiteboard:
Depends On:
Blocks: 1327763 1327765
TreeView+ depends on / blocked
 
Reported: 2016-03-10 17:27 UTC by Petr Široký
Modified: 2020-03-27 20:06 UTC (History)
3 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ENTESB-4936 0 Major Resolved Two implementations of jaxb-impl on classpath cause problems 2016-05-17 04:45:38 UTC

Description Petr Široký 2016-03-10 17:27:44 UTC
Description of problem:
Drools OSGi integration currently uses jaxb-impl version 2.2.10_1. See https://github.com/droolsjbpm/droolsjbpm-integration/blob/6.3.x/drools-osgi/drools-karaf-features/pom.xml#L63.

We need to align to Fuse which is using 2.2.11_1 to avoid XML marshalling issues, like the following one:

Caused by: javax.xml.bind.PropertyException: property "com.sun.xml.bind.marshaller.CharacterEscapeHandler" must be an instance of type com.sun.xml.bind.marshaller.CharacterEscapeHandler, not org.kie.services.client.serialization.XmlCharacterHandler
        at com.sun.xml.bind.v2.runtime.MarshallerImpl.setProperty(MarshallerImpl.java:501)
        at org.kie.services.client.serialization.JaxbSerializationProvider.configureMarshaller(JaxbSerializationProvider.java:249)
        ... 181 more


Upgrade is already done on master and 6.4.x without any noticeable issue.


Version-Release number of selected component (if applicable):
BxMS 6.2.1

Comment 1 Petr Široký 2016-03-10 17:29:02 UTC
Backport requested by Fuse QE (see the linked ENTESB-4936).

Comment 3 Petr Široký 2016-04-21 12:14:31 UTC
Back-ported into upstream 6.3.x branch (6.2.x product):

https://github.com/droolsjbpm/droolsjbpm-integration/commit/d67ba4ba131aca6df7

Comment 4 Jiri Petrlik 2016-05-10 08:23:21 UTC
Verified using BxMS 6.2.3.CR1. If feature 'drools-commons' is installed, Fuse contains only jaxb bundles in version 2.2.11_1. Here is the list of jaxb bundles obtained by command $ osgi:list -t 10 | grep 'jaxb':

[  69] [Active     ] [            ] [       ] [   20] Apache ServiceMix :: Bundles :: jaxb-impl (2.2.11.1)
[  70] [Active     ] [            ] [       ] [   20] Apache ServiceMix :: Bundles :: jaxb-xjc (2.2.11.1)


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