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

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

    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)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  soul2zimate Chao Wang
                  Reporter:
                  soul2zimate Chao Wang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: