Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3548

JTA synchronization for a distributed transaction called with incorrect TCCL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0.0.Beta1
    • 8.1.0.Final
    • Transactions
    • None

    Description

      It seems the RequestProcessor which is processing JTA synchronizations
      does not have the right TCCL set.

      As a result, during synchronization invocation:

      • NameNotFoundException is thrown for a JNDI lookup of "java:comp/UserTransaction"
      • if we try to acccess org.jboss.weld.Container by means of org.jboss.as.weld.services.ModuleGroupSingletonProvider.TCCLSingleton, we get ISE: "Singleton not set....This means that you are trying to access a weld deployment with a Thread Context ClassLoader that is not associated with the deployment."

      Attachments

        Issue Links

          Activity

            People

              mkouba@redhat.com Martin Kouba
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: