Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 13850 invoked from network); 19 Mar 2010 15:54:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Mar 2010 15:54:18 -0000 Received: (qmail 50522 invoked by uid 500); 19 Mar 2010 15:54:18 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 50505 invoked by uid 500); 19 Mar 2010 15:54:18 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 50497 invoked by uid 99); 19 Mar 2010 15:54:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 15:54:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 15:54:16 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 11DDA234C1F2 for ; Fri, 19 Mar 2010 15:53:55 +0000 (UTC) Message-ID: <223825393.18331269014035071.JavaMail.jira@brutus.apache.org> Date: Fri, 19 Mar 2010 15:53:55 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2656) ActiveMQInitialConnectionFactory cannot return an XAConnectionFactory In-Reply-To: <522213134.17161268942026364.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58336#action_58336 ] Gary Tully commented on AMQ-2656: --------------------------------- you are nearly there, try{code} connectionFactoryNames=XAConnectionFactory,ConnectionFactory connection.XAConnectionFactory.xa=true {code} and you can lookup both an xa and non xa connectonfactory by their respective names. > ActiveMQInitialConnectionFactory cannot return an XAConnectionFactory > --------------------------------------------------------------------- > > Key: AMQ-2656 > URL: https://issues.apache.org/activemq/browse/AMQ-2656 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 5.3.0 > Reporter: Edan idzerda > Assignee: Gary Tully > Fix For: 5.4.0 > > Attachments: ActiveMQInitialContextFactory.java, ActiveMQInitialContextFactory.java > > > ActiveMQInitialContextFactory cannot resolve the name "XAConnectionFactory" a la: > INFO: JNDI API lookup failed: javax.naming.NameNotFoundException: XAConnectionFactory > This prevents using the builtin JNDI service in an XA transaction context. I've created a simple patch to workaround this and discussed it on the mailing list: http://old.nabble.com/ActiveMQ%27s-JNDI-does-not-resolve-XAConnectionFactory-td27936255.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.