Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-144

Deadlock related to org.kie.workbench.common.services.backend.builder.core.LRUProjectDependenciesClassLoaderCache

    XMLWordPrintable

Details

    • DR1
    • CR1
    • Hide
      1. Run decision central.
      2. Download bpms-assets repo: git clone https://code.engineering.redhat.com/gerrit/bpms-assets
      3. Create bpms space: curl -u "testadmin:admin1234;" -H "Content-Type: application/json" -X POST -d ' {"name" : "bpms", "description" : "", "owner" : "bpms", "repositories" : null}

        ' http://localhost:8080/decision-central/rest/organizationalunits

      4. Clone bpms-assets repo: curl -u "testadmin:admin1234;" -H "Content-Type: application/json" -X POST -d ' {"name": "bpms-assets","organizationalUnitName": "bpms","description": "","userName": "","password": "","requestType": "clone","gitURL": "file:///home/.../bpms-assets/"}

        ' http://localhost:8080/decision-central/rest/repositories

      5. Clone bpms-assets repo from business central: git clone ssh://testadmin@localhost:8001/bpms-assets
      6. Checkout new branch git checkout -b myNewBranch
      7. Push new branch: git push origin myNewBranch
      8. jstack <decision_central_pid>
      Show
      Run decision central. Download bpms-assets repo: git clone https://code.engineering.redhat.com/gerrit/bpms-assets Create bpms space: curl -u "testadmin:admin1234;" -H "Content-Type: application/json" -X POST -d ' {"name" : "bpms", "description" : "", "owner" : "bpms", "repositories" : null} ' http://localhost:8080/decision-central/rest/organizationalunits Clone bpms-assets repo: curl -u "testadmin:admin1234;" -H "Content-Type: application/json" -X POST -d ' {"name": "bpms-assets","organizationalUnitName": "bpms","description": "","userName": "","password": "","requestType": "clone","gitURL": "file:///home/.../bpms-assets/"} ' http://localhost:8080/decision-central/rest/repositories Clone bpms-assets repo from business central: git clone ssh://testadmin@localhost:8001/bpms-assets Checkout new branch git checkout -b myNewBranch Push new branch: git push origin myNewBranch jstack <decision_central_pid>

    Description

      We have encountered a deadlock in business-central prohibiting EAP from stopping:

      Found one Java-level deadlock:
      =============================
      "Thread-848":
      waiting to lock monitor 0x00007f3f8008f788 (object 0x000000008f743730, a org.kie.workbench.common.services.backend.builder.core.LRUProjectDependenciesClassLoaderCache$Proxy$_$$_WeldClientProxy),
      which is held by "Thread-377"
      "Thread-377":
      waiting to lock monitor 0x00007f3f80092228 (object 0x000000009579fac0, a org.drools.compiler.kie.builder.impl.KieFileSystemImpl),
      which is held by "Thread-520"
      "Thread-520":
      waiting to lock monitor 0x00007f3f8008f788 (object 0x000000008f743730, a org.kie.workbench.common.services.backend.builder.core.LRUProjectDependenciesClassLoaderCache$Proxy$_$$_WeldClientProxy),
      which is held by "Thread-377"

      Please have a look at the full jstack output in the attachment.

      Attachments

        Issue Links

          Activity

            People

              manstis@redhat.com Michael Anstis
              mwinkler@redhat.com Marek Winkler (Inactive)
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: