[jboss-user] [JNDI and Naming] New message: "Re: jndi.properties vs bindings-jboss-beans.xml"

Brian Stansberry do-not-reply at jboss.com
Thu Feb 25 11:34:46 EST 2010


User development,

A new message was posted in the thread "jndi.properties vs bindings-jboss-beans.xml":

http://community.jboss.org/message/528556#528556

Author  : Brian Stansberry
Profile : http://community.jboss.org/people/bstansberry@jboss.com

Message:
--------------------------------------------------------------
You shouldn't need to provide any URL at all for a client running inside the AS to find the Naming server running inside the AS. The Context implementation class has a static reference to the in-VM naming server and uses that if no java.naming.provider.url is provided. That's why specifying a java.naming.provider.url breaks things or at best slows them down if what you're trying to do is access the local server.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/528556#528556




More information about the jboss-user mailing list