activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tnine <todd.n...@gmail.com>
Subject Re: Active MQ Integration with JBoss DataSource. JNDI Lookup fails
Date Tue, 01 May 2007 16:26:08 GMT

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]
<bean id="mysql-jndi"
class="org.springframework.jndi.JndiObjectFactoryBean">
	<property name="jndiName" value="jdbc/ActiveMQDS"/>
	<property name="jndiTemplate" ref="jndiTemplate"/>
	<property name="cache" value="false"/>
	<property name="proxyInterface" value="javax.sql.DataSource"/>
  </bean>

	<bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
		<property name="environment">
			<props>
				<prop
key="java.naming.factory.initial">org.jnp.interfaces.NamingContextFactory</prop>
				<prop key="java.naming.provider.url">jnp://localhost:1099</prop>
				<prop
key="java.naming.factory.url.pkgs">org.jboss.naming:org.jnp.interfaces</prop>
			</props>
		</property>
	</bean>
[/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.


Mime
View raw message