Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3736

kie JMS client does not work due to: java.util.Map is an interface, and JAXB can't handle interfaces.

    XMLWordPrintable

Details

    Description

      Kie JMS API client does not work. Pasting the relevant error message (see also the attached perfcake.log):

      java.util.Map is an interface, and JAXB can't handle interfaces.
      this problem is related to the following location:
      at java.util.Map
      at private java.util.Map org.kie.services.client.serialization.jaxb.impl.process.JaxbProcessInstanceWithVariablesResponse.variables
      at org.kie.services.client.serialization.jaxb.impl.process.JaxbProcessInstanceWithVariablesResponse
      java.util.Map does not have a no-arg default constructor.
      this problem is related to the following location:
      at java.util.Map
      at private java.util.Map org.kie.services.client.serialization.jaxb.impl.process.JaxbProcessInstanceWithVariablesResponse.variables
      at org.kie.services.client.serialization.jaxb.impl.process.JaxbProcessInstanceWithVariablesResponse

      To reproduce:
      1.) Download BPMS 6 ER5 and merge it with EAP 6.1.1 distribution.
      2.) Add user guest, password guest into EAP config files:
      application-users.properties: guest=b5d048a237bfd2874b6928e1f37ee15e
      application-roles.properties: guest=kie-user,admin
      standalone.xml: make sure that JMS subsystem queue roles include role 'admin'
      3.) Setup datasource for BPMS, I used PostgreSQL. Make sure the db is empty before the test. Do not use the default H2.
      4.) Start the server and go to http://localhost:8080/business-central.
      5.) Clone repository git://git.app.eng.bos.redhat.com/bpms-assets.git to your BPMS installation.
      6.) Build&Deploy a project bpms-perf from the bpms-assets.git repo.
      7.) Run perf scenario:
      git clone git://git.app.eng.bos.redhat.com/jbossqe-process-flood.git
      cd jbossqe-process-flood/bpms-6.x
      ./execute_scenario.sh -Dscenario=Timer_kieJMS

      This bug prevents to create complete performance report, as it now looks like that new report will be without whole JMS API.

      My env:
      BPMS 6 ER5
      EAP 6.1.1
      PostgreSQL 9.1.9
      postgresql-9.1-902.jdbc4.jar

      Attachments

        Activity

          People

            marco.rietveld Marco Rietveld (Inactive)
            jsvitak_jira Jiri Svitak (Inactive)
            Jiri Svitak Jiri Svitak (Inactive)
            Jiri Svitak Jiri Svitak (Inactive)
            Kris Verlaenen, Marek Baluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: