Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-901

Classloading exceptions during the periodic recovery process

    Details

    • Steps to Reproduce:
      Hide

      1. clone AS7 master from github
      2. cd jboss-as; build.sh install
      3. cd build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin
      4. ./standalone.sh -server-config ../standalone/configuration/standalone-xts.xml
      5. wait for the periodic recovery process and check the server log

      Show
      1. clone AS7 master from github 2. cd jboss-as; build.sh install 3. cd build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/bin 4. ./standalone.sh -server-config ../standalone/configuration/standalone-xts.xml 5. wait for the periodic recovery process and check the server log

      Description

      Some classloading exceptions happen during the periodic recovery process if AS7 started with standalone-xts.xml configuration, see the log snippets bellow.

      It seems like some missing deps to javax.resource.api and javax.transaction.api in xts module descriptor. But it could also be that the standalone-xts.xml configuration file in AS7 is out of date.
      Could you check this pls? Note: it was tested on the latest AS7 master.

      13:08:17,500 ERROR [stderr] (Periodic Recovery) Exception in thread "Periodic Recovery" java.lang.NoClassDefFoundError: javax/transaction/SystemException
      13:08:17,500 ERROR [stderr] (Periodic Recovery)         at org.jboss.jbossts.txbridge.outbound.OutboundBridgeRecoveryManager.periodicWorkSecondPass(OutboundBridgeRecoveryManager.java:87)
      13:08:17,501 ERROR [stderr] (Periodic Recovery)         at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789)
      13:08:17,501 ERROR [stderr] (Periodic Recovery)         at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371)
      13:08:17,501 ERROR [stderr] (Periodic Recovery) Caused by: java.lang.ClassNotFoundException: javax.transaction.SystemException from [Module "org.jboss.xts:main" from local module loader @2ca6d51e (roots: /home/studensky/job/git/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/modules)]
      13:08:17,501 ERROR [stderr] (Periodic Recovery)         at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
      13:08:17,501 ERROR [stderr] (Periodic Recovery)         at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
      13:08:17,501 ERROR [stderr] (Periodic Recovery)         at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)
      13:08:17,502 ERROR [stderr] (Periodic Recovery)         at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
      13:08:17,502 ERROR [stderr] (Periodic Recovery)         at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
      13:08:17,502 ERROR [stderr] (Periodic Recovery)         ... 3 more
      
      Exception in thread "Periodic Recovery" java.lang.NoClassDefFoundError: javax/resource/spi/XATerminator
      13:18:56,834 ERROR [stderr] (Periodic Recovery)         at org.jboss.jbossts.txbridge.inbound.InboundBridgeRecoveryManager.getIndoubtSubordinates(InboundBridgeRecoveryManager.java:227)
      13:18:56,834 ERROR [stderr] (Periodic Recovery)         at org.jboss.jbossts.txbridge.inbound.InboundBridgeRecoveryManager.periodicWorkSecondPass(InboundBridgeRecoveryManager.java:196)
      13:18:56,834 ERROR [stderr] (Periodic Recovery)         at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789)
      13:18:56,835 ERROR [stderr] (Periodic Recovery)         at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                paul.robinson Paul Robinson
                Reporter:
                istudens Ivo Studensky
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: