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.