Discussion:
[jboss-user] [JNDI and Naming] - AS7: Effect of use-java-context in Resource Adapter Configuration?
Harald Wellmann
2013-02-10 11:34:58 UTC
Permalink
Harald Wellmann [https://community.jboss.org/people/hwellmann.de] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/796911#796911

--------------------------------------------------------------
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
[https://community.jboss.org/message/796911#796911]

Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]
Loading...