[jboss-user] [JNDI and Naming] - AS7: Effect of use-java-context in Resource Adapter Configuration?

Harald Wellmann do-not-reply at jboss.com
Sun Feb 10 06:34:58 EST 2013


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130210/2754fdda/attachment.html 


More information about the jboss-user mailing list