Race-Condition on server start

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: 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

              Assignee:
              Unassigned
              Reporter:
              Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: