Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C1A54C8C for ; Mon, 23 May 2011 17:22:21 +0000 (UTC) Received: (qmail 16390 invoked by uid 500); 23 May 2011 17:22:20 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 16363 invoked by uid 500); 23 May 2011 17:22:20 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 16355 invoked by uid 99); 23 May 2011 17:22:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 17:22:20 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of lexsoto@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 17:22:14 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QOYpF-0000lD-8G for users@activemq.apache.org; Mon, 23 May 2011 10:21:53 -0700 Date: Mon, 23 May 2011 10:21:53 -0700 (PDT) From: lexsoto To: users@activemq.apache.org Message-ID: <1306171313248-3544709.post@n4.nabble.com> Subject: The resource is allready being used in transaction context MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Anybody seen this before? Caused by: javax.jms.JMSException: The resource is allready being used in transaction context. at org.apache.activemq.ra.ManagedTransactionContext.setUseSharedTxContext(ManagedTransactionContext.java:47) at org.apache.activemq.ra.ManagedSessionProxy.setUseSharedTxContext(ManagedSessionProxy.java:67) at org.apache.activemq.ra.ManagedConnectionProxy.createSessionProxy(ManagedConnectionProxy.java:122) at org.apache.activemq.ra.ManagedConnectionProxy.createSession(ManagedConnectionProxy.java:105) I am running AMQ 5.5, this exception is thrown from a client running in JBoss when calling: createSession(false, Session.CLIENT_ACKNOWLEDGE) My connection factory is configured as: AMQConnectionFactory false activemq-ra.rar javax.jms.ConnectionFactory 1 20 30000 3 How can I avoid this error? TIA -- View this message in context: http://activemq.2283324.n4.nabble.com/The-resource-is-allready-being-used-in-transaction-context-tp3544709p3544709.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.