activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <>
Subject [jira] Commented: (AMQ-2670) ClassCast Exception in JBoss when using XA
Date Thu, 25 Mar 2010 17:29:07 GMT


Gary Tully commented on AMQ-2670:

ok, I see how this will work but it is a bit of a hack, all be it, one that is of value.

I would expect some sort of generic RAR com.arjuna.ats.jta.recovery.XAResourceRecovery impl
that is aware of a resource adapter in jndi and can make calls on javax.resource.spi.ResourceAdapter#getXAResources
to do recovery.

It looks like no such thing exists in jboss or arjuna atm, Having an option to publish an
XA connection factory in jndi looks like a reasonable workaround.

> ClassCast Exception in JBoss when using XA 
> -------------------------------------------
>                 Key: AMQ-2670
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Connector
>    Affects Versions: 5.3.0
>         Environment: activemq-rar-5.3.0.rar deployed in jboss-5.1.0-GA
>            Reporter: Edwin van der Elst
>         Attachments:, ra.xml
> When deploying the rar under JBoss, the connectionfactory bound in de JNDI tree is always
of type 'ActiveMQConnectionFactory'., while it should be ActiveMQXAConnectionFactory (which
implements XAConnectionFactory).
> I attached a new class that creates the correct type of factory, and this can be configured
in the ra.xml (also attached).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message