Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 32863 invoked from network); 14 Aug 2006 15:25:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Aug 2006 15:25:01 -0000 Received: (qmail 50281 invoked by uid 500); 14 Aug 2006 15:25:00 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 50257 invoked by uid 500); 14 Aug 2006 15:25:00 -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 50248 invoked by uid 99); 14 Aug 2006 15:25:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Aug 2006 08:25:00 -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; Mon, 14 Aug 2006 08:24:59 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GCeIx-0008MV-C3 for activemq-users@geronimo.apache.org; Mon, 14 Aug 2006 08:24:39 -0700 Message-ID: <5798482.post@talk.nabble.com> Date: Mon, 14 Aug 2006 08:24:39 -0700 (PDT) From: dooart To: activemq-users@geronimo.apache.org Subject: ActiveMQ + JBoss MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm using an embedded broker started with the provided JCA resource adapter and I've made an example like the one at the deployment guide page for JBoss. Everything seems to be working fine, except for the fact that my MDB doesn't receive the messages sent to the queue that it should listen. I believe that I'm doing some wrong ActiveMQ configuration, because when I point the MDB (and make some minor changes to ejb-jar and jboss-jar) to listen to a pre-configured JBossMQ queue, it works fine. I've tried to fix this for the last five days and I'm stuck, so I decided to ask for help here before losing all my hair. =) I'm using [trying to use] ActiveMQ 4.0.1 and JBoss 4.0.4 GA with j2sdk1.4.2_11. I don't know if this helps, but I made some tests: - I tried to produce and consume messages using tcp to connect to the broker started by the resource adapter and it worked. - I tried to produce messages using jndi to get the connection factory and the queue and consume those messages using tcp to connect to a queue by it's physical name and it worked too. Does someone know what I'm doing wrong? The relevant files are attached. Thanks in advance. http://www.nabble.com/user-files/307/activemq-ds.xml activemq-ds.xml http://www.nabble.com/user-files/308/broker-config.xml broker-config.xml http://www.nabble.com/user-files/309/ejb-jar.xml ejb-jar.xml http://www.nabble.com/user-files/310/jboss.xml jboss.xml http://www.nabble.com/user-files/311/ra.xml ra.xml http://www.nabble.com/user-files/312/SimpleMessageReceiverBean.java SimpleMessageReceiverBean.java -- View this message in context: http://www.nabble.com/ActiveMQ-%2B-JBoss-tf2103946.html#a5798482 Sent from the ActiveMQ - User forum at Nabble.com.