Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-795

Deadlock in Drools ProjectClassLoader when starting Business Central

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.GA
    • 7.0.0.GA
    • Business Central
    • None
    • macOS 10.12.6, Oracle Hotspot 1.8.0_151-b12, Red Hat PAM 7.0.0.ER2

    • CR2
    • Hide

      1) Start Business Central/EAP
      2) Import the following repository: https://github.com/DuncanDoyle/rhpam7-mortgage-demo-repo-with-deadlock
      3) Stop Business Central/EAP
      4) Start Business Central/EAP
      5) Create threaddumps (e.g. with jstack) and observe the deadlocks.

      Show
      1) Start Business Central/EAP 2) Import the following repository: https://github.com/DuncanDoyle/rhpam7-mortgage-demo-repo-with-deadlock 3) Stop Business Central/EAP 4) Start Business Central/EAP 5) Create threaddumps (e.g. with jstack) and observe the deadlocks.

      When I import this repository into Business Central: https://github.com/DuncanDoyle/rhpam7-mortgage-demo-repo-with-deadlock , and I restart my EAP, I get deadlocks in the Drools ProjectClassLoader. Sometimes the workbench starts and is accessible, but a lot of the times it's not, and EAP will hang and start filling the logs with errors.

      When the workbench does start, no items in the project are visible (i.e. counter is "0" in the UI) and the workbench states that indexing has not finished.

      I've attached 2 thread dumps of 2 different runs. One with a single project imported, one with 2 projects. I can reproduce this pretty consistently.

            mfusco@redhat.com Mario Fusco
            rhn-gps-ddoyle Duncan Doyle (Inactive)
            Jan Hrcek Jan Hrcek (Inactive)
            Jan Hrcek Jan Hrcek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: