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

JBoss MSC runs into deadlock if PA contains unsatisfied service dependencies

XMLWordPrintable

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

      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.

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: