Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4090

[Integration Pack - EAP] JAXB initialisation error - Several pairs of classes have the same XML type

    XMLWordPrintable

Details

    • % %

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              marco.rietveld Marco Rietveld (Inactive)
              mbasovni Martin Basovnik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: