JBoss ON fails updating or installing agent plug-in due to transaction timeout

Solution Verified - Updated -

Issue

  • Unable to update the JBoss AS or Red Hat JBoss Enterprise Application Platform (EAP) plug-in
  • rhq-server-log4j.log contains transaction errors:

    WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id a0301e5:f3da:4ffd9ec3:17c invoked while multiple threads active within it.
    INFO  [org.rhq.enterprise.server.common.TransactionInterruptInterceptor] Transaction [a0301e5:f3da:4ffd9ec3:17c] is aborting with active thread [Latched Service Processor: JBossAS5]. interrupting=[false]
    java.lang.Throwable: STACK TRACE OF ACTIVE THREAD IN TERMINATING TRANSACTION
            at org.apache.log4j.Category.getEffectiveLevel(Category.java:439)
            at org.apache.log4j.Category.isEnabledFor(Category.java:748)
            at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
    
  • Failing to register an updated agent plug-in

    ERROR [org.rhq.enterprise.server.core.plugin.ProductPluginDeployer] Failed to register RHQ plugin file [file:/opt/jboss/jon-server-2.4.2.GA/jbossas/server/default/deploy/rhq.ear/rhq-downloads/rhq-plugins/jopr-jboss-as-5-plugin-3.0.1.JON242.GA.jar]
    java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active!
            at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1379)
    

Environment

  • Red Hat JBoss Operations Network (ON) 2.4.2, 3.0, 3.1
  • Installing or updating an agent plug-in that includes a large number of resource types

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content