Managed resources are not being added to JBoss ON inventory due to fatal error occurred during merging of inventory report from agent

Solution Unverified - Updated -

Issue

  • Not all resources are discovered
  • I can only see some services in inventory for some managed resource instances
  • Services are missing from their parent inventory
  • Server is unable to merge agent's inventory report and logs the following error:

    WARN  [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: null
    ERROR [org.hibernate.util.JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: -2e68c4d0:fd6d:49c2f5d9:529447 status: ActionStatus.ABORTED >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -2e68c4d0:fd6d:49c2f5d9:529447 status: ActionStatus.ABORTED >)
    WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_40] - Abort called on already aborted atomic action -2e68c4d0:fd6d:49c2f5d9:529447
    ERROR [org.rhq.enterprise.server.discovery.DiscoveryServerServiceImpl] Fatal error occurred during merging of inventory report from agent [Agent[id=0,name=my.jon.agent,address=null,port=0,remote-endpoint=null,last-availability-ping=null,last-availability-report=null]].
    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)
        at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
        at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
        at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175)
        at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
        ...
        at $Proxy501.mergeInventoryReport(Unknown Source)
        at org.rhq.enterprise.server.discovery.DiscoveryServerServiceImpl.mergeInventoryReport(DiscoveryServerServiceImpl.java:75)
        at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.rhq.enterprise.communications.command.impl.remotepojo.server.RemotePojoInvocationCommandService.execute(RemotePojoInvocationCommandService.java:184)
        ...
        at $Proxy606.execute(Unknown Source)
        at org.rhq.enterprise.communications.command.server.CommandProcessor.handleIncomingInvocationRequest(CommandProcessor.java:290)
        at org.rhq.enterprise.communications.command.server.CommandProcessor.invoke(CommandProcessor.java:184)
        ...
    
  • Server fails to merge an agent's inventory report due to a transaction timeout

Environment

  • JBoss Operations Network (ON) 3.0, 3.0.1, 3.1, 3.1.1, 3.1.2
  • Agent's inventory report is very large (10s or 100s of thousands of resources)

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