Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-3220

Race-Condition on server start

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Unresolved
    • L3 - Default
    • None
    • None
    • engine

    Description

      Situation:

      The engine is configured with the property "jobExecutorDeploymentAware = true".

      A process is deployed to a process engine and the process looks like this:

      StartEvent --> ServiceTask(async=true; delegateExpression="${anExpression}" --> EndEvent

      There exists a Job for the ServiceTask.

      On AS start:
      The job will be acquired and executed but a context switch into the process application does not happen, so that the expression cannot be resolved.

      Problem:

      • It seems that the "JobAcquisition-Thread" is able to acquire the job because the "Deployer-Thread" put the deployment id into the list of "registered deployments" after a successful (re-)deployment.
      • But the "JobExecutor-Thread" cannot retrieve the correspoding ProcessApplicationReference by deployment id, because the "JobExecutor-Thread" does not see the actual mapping of deploymentId <-> ProcessApplicationReference

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                roman.smirnov Roman Smirnov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Salesforce