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

Race-Condition on server start

XMLWordPrintable

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

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated: