-
Bug
-
Resolution: Done
-
Blocker
-
jboss-fuse-6.2.1
-
None
-
%
JAXB initialisation error - Several pairs of classes have the same XML type.
Check the following jars:
- kie-remote-client-6.2.0.Final-redhat-9.jar
- drools-core-6.2.0.Final-redhat-9.jar
Caused by: org.switchyard.HandlerException: org.kie.services.client.serialization.SerializationException: Unsupported JAXB Class encountered during initialization: 12 counts of IllegalAnnotationExceptions at org.switchyard.handlers.ProviderHandler.handleMessage(ProviderHandler.java:73) [switchyard-runtime-2.0.1.redhat-621020.jar:2.0.1.redhat-621020] ... Caused by: org.kie.services.client.serialization.SerializationException: Unsupported JAXB Class encountered during initialization: 12 counts of IllegalAnnotationExceptions at org.kie.remote.client.jaxb.ClientJaxbSerializationProvider.initialize(ClientJaxbSerializationProvider.java:105) ... Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 12 counts of IllegalAnnotationExceptions Two classes have the same XML type name "abortWorkItemCommand". Use @XmlType.name and @XmlType.namespace to assign different names to them. this problem is related to the following location: at org.kie.remote.jaxb.gen.AbortWorkItemCommand at protected java.util.List org.kie.remote.client.jaxb.JaxbCommandsRequest.commands at org.kie.remote.client.jaxb.JaxbCommandsRequest this problem is related to the following location: at org.drools.core.command.runtime.process.AbortWorkItemCommand at protected java.util.List org.drools.core.command.runtime.BatchExecutionCommandImpl.commands at org.drools.core.command.runtime.BatchExecutionCommandImpl ...
Problematic XML types (12):
- abortWorkItemCommand
- signalEventCommand
- jaxbStringObjectPair
- jaxbStringObjectPairArray
- startProcessCommand
- deleteCommand
- getGlobalCommand
- setGlobalCommand
- jaxbListWrapper
- insertObjectCommand
- fireAllRulesCommand
- completeWorkItemCommand
- relates to
-
ENTESB-4688 Switchyard should work with the remote API available in BPMS
- Closed