[ 
https://issues.apache.org/activemq/browse/AMQ-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58449#action_58449
 ] 

Gary Tully commented on AMQ-2670:
---------------------------------

can you post an ejb or mdb descriptor that uses this. This looks like a use 
case where the RAR provides the connection factory but not the recovery 
contract, is that correct? With the RAR contract, the XAResource would normally 
be accessed via the javax.resource.spi.ResourceAdapter#getXAResources

With the new class, the RAR can be bypassed w.r.t to recovery, or just used as 
an easy way to deploy ActiveMQ to jboss. Am I missing something?

> ClassCast Exception in JBoss when using XA 
> -------------------------------------------
>
>                 Key: AMQ-2670
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2670
>             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: ActiveMQXAManagedConnectionFactory.java, 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.

Reply via email to