Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 62016 invoked from network); 6 Jul 2006 10:13:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2006 10:13:44 -0000 Received: (qmail 91805 invoked by uid 500); 6 Jul 2006 10:13:43 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 91785 invoked by uid 500); 6 Jul 2006 10:13:43 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 91776 invoked by uid 99); 6 Jul 2006 10:13:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 03:13:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 03:13:42 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FyQrJ-0005gm-TF for activemq-users@geronimo.apache.org; Thu, 06 Jul 2006 03:13:21 -0700 Message-ID: <5196977.post@talk.nabble.com> Date: Thu, 6 Jul 2006 03:13:21 -0700 (PDT) From: JohanB To: activemq-users@geronimo.apache.org Subject: ActiveMQ 4 + Jencks + XA Transactions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: johan.brelet@gmail.com X-Nabble-From: JohanB X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm trying to use Jencks JCA container with ActiveMQ-4.1-SNAPSHOT in order to test XA transactions. I'm using Spring 2.0RC1 + xbean-spring-2.4, Jencks-1.1.3 and using an ActiveMQ Embedded Broker defined in Java code (no activemq.xml). When I run my tests, the following exception occurs : org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmsConnectionFactory' defined in class path resource [applicationContext-jca-activemq4.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/activemq/pool/ConnectionKey Caused by: java.lang.NoClassDefFoundError: org/activemq/pool/ConnectionKey at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethods(Unknown Source) at java.beans.Introspector$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.beans.Introspector.getPublicDeclaredMethods(Unknown Source) at java.beans.Introspector.getTargetMethodInfo(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) .... at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:92) at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:77) ... Here is my jmsConnectionFactory bean, defined with Spring : ... ... It makes me think that Jencks doesn't support well Active MQ 4, as it tries to access a class in "org.activemq" instead of "org.apache.activemq". Currently, is it possble to use Jencks with ActiveMQ4 ? -- View this message in context: http://www.nabble.com/ActiveMQ-4-%2B-Jencks-%2B-XA-Transactions-tf1899733.html#a5196977 Sent from the ActiveMQ - User forum at Nabble.com.