Apache Aries Auto-Enlisting XA Wrapper is broken in Fuse ESB 7.1 and JBoss Fuse 6.0

Solution Verified - Updated -

Issue

  • Currently Apache Aries Auto-Enlisting XA Wrapper feature is broken:

    • If OSGi bundle exports a service implementing javax.sql.XADataSource, then Apache Aries is supposed to pick this service up and re-export a new proxy data source service implementing javax.sql.DataSource interface.
    • This new proxy service is supposed to be used by applications and is responsible for auto-enlistment of XA connections into global JTA transaction context.
    • Upon connection closure and transaction completion, the proxy should return connection back to the pool. However, it is currently broken so connection pool is exhausted after some time.
  • Example error message may be as shown below (or similar depending on connection pool implementation used):

Pool empty. Unable to fetch a connection in 30 seconds

Environment

  • Fuse Enterprise ESB 7.1
  • JBoss Fuse 6.0
  • Oracle Database JDBC driver
  • MS SQL-Server JDBC Driver

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.