From users-return-8915-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed May 02 20:28:37 2007 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 54731 invoked from network); 2 May 2007 20:28:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2007 20:28:37 -0000 Received: (qmail 10175 invoked by uid 500); 2 May 2007 20:28:42 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 10148 invoked by uid 500); 2 May 2007 20:28:42 -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 10137 invoked by uid 99); 2 May 2007 20:28:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 13:28:42 -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 (herse.apache.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; Wed, 02 May 2007 13:28:35 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HjLQs-0000BR-9r for users@activemq.apache.org; Wed, 02 May 2007 13:28:14 -0700 Message-ID: <10294077.post@talk.nabble.com> Date: Wed, 2 May 2007 13:28:14 -0700 (PDT) From: tnine To: users@activemq.apache.org Subject: Re: Active MQ Integration with JBoss DataSource. JNDI Lookup fails In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: todd.nine@gmail.com References: <10258207.post@talk.nabble.com> <10271819.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I've solved my other issues with my active MQ issue. I haven't pointed to the data source in my config, only added the spring bean, and I'm still getting failures on the JNDI lookup. So, does a JNDI DS lookup work or not with a RAR? If so, how does it work? I can't seem figure out what else I need to do. I've also tried adding the JNDI template to bind to the JNDI at localhost:1099 via TCP, this doesn't work either. Here is my broker config. [code] [/code] James.Strachan wrote: > > If you're using Spring to configure the data source, why not just drop > JNDI altogether & use Spring? > > On 5/1/07, tnine wrote: >> >> Just an Update. I've also tried the following for the JNDI connection. >> Whenever I view the jmx-console, my data source has connected and started >> successfully, any help would be greatly appreciated. I'm thoroughly >> stumped >> on this one, my knowledge of deploying RARs is minimal. >> >> new config snippit >> [code] >> > class="org.springframework.jndi.JndiObjectFactoryBean"> >> >> >> >> >> >> >> > class="org.springframework.jndi.JndiTemplate"> >> >> >> > key="java.naming.factory.initial">org.jnp.interfaces.NamingContextFactory >> > key="java.naming.provider.url">jnp://localhost:1099 >> > key="java.naming.factory.url.pkgs">org.jboss.naming:org.jnp.interfaces >> >> >> >> [/code] >> -- >> View this message in context: >> http://www.nabble.com/Active-MQ-Integration-with-JBoss-DataSource.--JNDI-Lookup-fails-tf3671136s2354.html#a10271819 >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > -- > James > ------- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabble.com/Active-MQ-Integration-with-JBoss-DataSource.--JNDI-Lookup-fails-tf3671136s2354.html#a10294077 Sent from the ActiveMQ - User mailing list archive at Nabble.com.