Aries JDBC XA connection pool not working with Oracle database drivers

Solution In Progress - Updated -

Issue

I've setup a XA JDBC connection pool for Oracle using 11g thin JDBC drivers as described here [1]
When trying to obtain a connection, I get the following exception in logs:

2014-10-23 22:49:49,780 | ERROR | _ALERTING_EVENT] | faultJmsMessageListenerContainer | 198 - org.apache.servicemix.bundles.spring-jms - 3.2.8.RELEASE_1 | Could not refresh JMS Connection for destination 'OMS.QN_ALERTING_EVENT' - retrying in 5000 ms. Cause: Error creating the db_connection; nested exception is java.lang.ClassCastException: org.tranql.connector.jdbc.ConnectionHandle cannot be cast to oracle.jdbc.internal.OracleConnection

[1] Configuring an XA Data Source

Environment

  • Red Hat JBoss Fuse 6.1.0

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