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
Backport requested by Fuse QE (see the linked ENTESB-4936).
Back-ported into upstream 6.3.x branch (6.2.x product): https://github.com/droolsjbpm/droolsjbpm-integration/commit/d67ba4ba131aca6df7
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)