JBoss Community

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

created by Harald Wellmann in JNDI and Naming - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community