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.