Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6238

Deadlock in Module FallbackClassLoader

    XMLWordPrintable

Details

    Description

      Actually the version is 2.0.1.final - jbosgi-framework-core-2.0.1.Final.jar

      Commit reference for JBOSS AS :- https://github.com/jbossas/jboss-as/commit/ed2bc551a55ec6a8167a8657cbb5d8abc6e07748

      During start up of JBOSS AS7.0 two GeminiBlueprintExtender Threads deadlock, and services in the JBOSS OSGI container are not started.

      The deadlock appears to be concerned with a Module FallbackLoader, which acquires a lock during a call to loadClassLocal() and then proceeds to use an alternate Module to load the class, if this results in the alternate Module using it's FallbackLoader to load a class or resource, then it must also acquire a lock first. Obviously if two or more threads are attempting this, then a dead lock is possible.

      I will attach the thread dump to this issue as supporting evidence.

      Attachments

        Activity

          People

            tdiesler@redhat.com Thomas Diesler
            stevere_jira Steve Reed (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: