Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18033

[GSS](7.2.z) WFLY-12805 - Loading JTSSynchronizationWrapper gets NoClassDefFoundError: org/jboss/as/naming/context/NamespaceContextSelector

    XMLWordPrintable

Details

    Description

      Since JBoss EAP 7.1.0 GA, The class JTSSynchronizationWrapper has imported NamespaceContextSelector, but the module.xml in "org.jboss.as.weld.transactions" does not import "org.jboss.as.naming".

      Adding this dependency makes the issue go away.

              Caused by: java.lang.NoClassDefFoundError: org/jboss/as/naming/context/NamespaceContextSelector
                      at org.jboss.as.weld.services.bootstrap.JTSSynchronizationWrapper.<init>(JTSSynchronizationWrapper.java:44)
                      at org.jboss.as.weld.services.bootstrap.WeldTransactionServices.registerSynchronization(WeldTransactionServices.java:95)
                      at org.jboss.weld.module.jta.TransactionalObserverNotifier.notifyTransactionObservers(TransactionalObserverNotifier.java:86)
                      at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:274)
                      at org.jboss.weld.event.EventImpl.fire(EventImpl.java:96)
                at com.jboss.examples.filter.ExampleFilter.filter(ExampleFilter.java:12)
      

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: JBEAP

              People

                chaowan@redhat.com Chao Wang
                rhn-support-dguthrie David Guthrie
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: