Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-63

Unable to deploy a project through rest call on business-central in an Unified Execution Server for BxMS 6.4.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 6.x.x
      • BPM Suite 6.4.x - Unified Execution Server
      • Unified Executor Queue - org.kie.executor.jms.queue="queue/KIE.SERVER.EXECUTOR"
    • Hide

      Use business-central interface to deploy or let default business-central queue set instead of kie-server.

      Show
      Use business-central interface to deploy or let default business-central queue set instead of kie-server.

    Description

      When using rest call to deploy a project in business-central:

       /business-central/rest/deployment/{deploymentId}/deploy?strategy={strategy}
      

      The asynchronous job executed by org.kie.server.jms.executor.KieExecutorMDB always throws an exception putting the job in ERROR state:

      2017-09-11 17:44:34,573 WARN  [org.jbpm.executor.impl.AbstractAvailableJobsExecutor] (Thread-12 (ActiveMQ-client-global-threads-133169988)) Error during command org.kie.remote.services.rest.async.cmd.DeploymentCmd error message org.kie.remote.services.rest.async.cmd.JobType from [Module "deployment.kie-server.war:main" from Service Module Loader]: java.lang.ClassNotFoundException: org.kie.remote.services.rest.async.cmd.JobType from [Module "deployment.kie-server.war:main" from Service Module Loader]
      ...
      

      The issue happens if org.kie.executor.jms.queue system property is set to queue/KIE.SERVER.EXECUTOR. After requeuing the job from business-central the deployment get executed properly.

      It seems that the async job is taken instead by KieExecutorMDB in kie-server.war where there is no library "kie-remote-services-6.5.0.Final-redhat-2.jar". The log line asserts that ClassNotFoundException happens in kie-server.war module class loader.

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-ajuricic Amana Juricic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: