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

JBoss MSC runs into deadlock if PA contains unsatisfied service dependencies

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.0.0-alpha4, 7.0.0
    • None
    • engine
    • None

    Description

      If I deploy a process application which provokes unsatisfied service dependencies in the INSTALL phase, the MSC runs into a deadlock. The reason is that we depend on the VIEW service of the ProcessApplication component (Singleton EJB) and not also on its START service.
      When the org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService starts, the VIEW service is installed but the component is not yet started. If we then call the getName() method on the session bean, this call blocks until the START service is up. But it never comes up since there are unsatisfied dependencies. This causes us to block the phase processor and thus constitutes a deadlock.

      I fixed it by adding a dependency on the START service.

      Integration testcase is added.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              meyer Daniel Meyer
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce