[jboss-user] [Beginners Corner] - jndi name for XAQueueConnectionFactory

alec@atomd.com do-not-reply at jboss.com
Tue Jun 26 15:43:49 EDT 2007


I am having trouble accessing the the connection factory and am stumped as to the JNDI name.  The specific error is: jndi name not bound.

I am running Jboss 4.2

When Jboss starts I have the message:
service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

Is the jboss-web.xml correct? Should the <jndi-name> match above and not include the slash?
<resource-ref>
	<res-ref-name>jms/LocalXAQueueConnectionFactory</res-ref-name>
	<jndi-name>java:/JmsXA</jndi-name>
</resource-ref> 

The jndi name I am passing to the service locator is: java:comp/env/jms/LocalXAQueueConnectionFactory

Any tips would be very welcome.  TIA. -Alec

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057864#4057864

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057864



More information about the jboss-user mailing list