You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2010/03/30 16:25:09 UTC

[jira] Issue Comment Edited: (AMQ-2670) ClassCast Exception in JBoss when using XA

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

Gary Tully edited comment on AMQ-2670 at 3/30/10 2:23 PM:
----------------------------------------------------------

Add dependency link to https://issues.apache.org/activemq/browse/AMQ-2656 as this needs ActiveMQ initial context to return an XA capable connection factory for out of band recovery using JMS api

      was (Author: gtully):
    needs ActiveMQ initial context to return an XA capable connection factory for out of band recovery using JMS api
  
> 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
>            Assignee: Gary Tully
>             Fix For: 5.4.0
>
>         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.