0 Replies Latest reply on Feb 10, 2013 6:34 AM by hwellmann.de

    AS7: Effect of use-java-context in Resource Adapter Configuration?

    hwellmann.de

      I've configured a connection factory like this:

       

      <connection-definition class-name="org.apache.activemq.ra.ActiveMQManagedConnectionFactory" jndi-name="jms/ConnectionFactory" enabled="true" use-java-context="false" pool-name="ConnectionFactory"/>

       

      But a JNDI lookup of "jms/ConnectionFactory" fails, I have to use the name "java:/jms/ConnectionFactory". Setting use-java-context to true or false does not seem to make any difference at all. Am I missing anything or is this a bug?

       

      I'm using JBoss AS 7.1.3.

       

      Best regards,

      Harald