What jta setting should be used when defining a datasource in JBoss

Solution Verified - Updated -

Issue

  • What is the default jta value?
  • When should jta be set to false?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6
    • 7
  • Java Connector Architecture (JCA)
  • jta per:
    • jboss-as-datasources_1_0.xsd
    • jboss-as-datasources_1_1.xsd
    • jboss-as-datasources_1_2.xsd
  • can be seen in stacktrace (NoTxConnectionListener is the key part) when jta=false is used
    • org.jboss.jca.core.connectionmanager.listener.NoTxConnectionListener.connectionClosed

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