Why do I see a "Adding multiple last resources is disallowed" warning in JBoss when I only have a single DataSource?

Solution Verified - Updated -

Issue

I only have one datasource (DefaultDS) for one database, and my app uses DefaultDS as its datasource. I'm using a local-tx-datasource for the DefaultDS, but it seems that should be all that is necessary, seeing as I'm using the one database for everything (and I've disabled hypersonic).

WARN  [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow]
Adding multiple last resources is disallowed. Current resource is
org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@10a9f69

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.3
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.