Warning messages when trying to connect to xa-datasource

Solution Verified - Updated -

Issue

  • We are seeing the following warnings:
        WARN  [org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory] Owner is null
        WARN  [org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory] Thread trying to unlock
        java.lang.Throwable: Thread trying to unlock
            at java.lang.Thread.getStackTrace(Thread.java:1479)
            at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.unlock(BaseWrapperManagedConnection.java:317)
            at org.jboss.resource.adapter.jdbc.WrappedConnection.unlock(WrappedConnection.java:107)
            at org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6.isValid(WrappedConnectionJDK6.java:263)
            at sun.reflect.GeneratedMethodAccessor400.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.resource.connectionmanager.ManagedConnectionFactoryDeployment.closeConnection(ManagedConnectionFactoryDeployment.java:869)
            at org.jboss.resource.connectionmanager.ManagedConnectionFactoryDeployment.getXAResources(ManagedConnectionFactoryDeployment.java:584)
            at com.arjuna.ats.internal.jbossatx.jta.XAResourceRecoveryHelperWrapper.getXAResources(XAResourceRecoveryHelperWrapper.java:51)
            at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecoveryForRecoveryHelpers(XARecoveryModule.java:703)
            at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:201)
            at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:799)
            at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:412)

This issue did not occur when using JBoss EAP 5.1.0

Environment

  • JBoss Enterprise Application Platform (EAP) 5.1.2

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