0 Replies Latest reply on Jun 26, 2007 3:43 PM by alec1

    jndi name for XAQueueConnectionFactory

    alec1

      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