Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-886

AbstractContext creationLock deadlock

    XMLWordPrintable

Details

    • Hide

      @see description

      Show
      @see description
    • Workaround Exists
    • Hide

      Call webservices by hand before portlet usings.

      Show
      Call webservices by hand before portlet usings.

    Description

      AbstractContext.creationLock same for all applications on same server.

      I have portlet and webservice deployed on same glassfish server.
      On start of portlet the call to managed bean (@ApplicationScoped) is occured (FolderService.getRootFolder). It causes to lock creationLock in AbstractContext, create instance for bean, then call getRootFolder as default postconstruct method.

      After getRootFolder calls webservice deployed on the same server. Webservice method access another @ApplicationScoped bean. It causes to lock creationLock again (in another thread) and produces deadlock.

      Thanks.

      Attachments

        Activity

          People

            ajustin@redhat.com Ales Justin
            nkey_jira MIchail Nikolaev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: