JBoss development,
A new message was posted in the thread "lookup for remote bean - failure (only from
eclipse)":
http://community.jboss.org/message/529677#529677
Author : Wolfgang Knauf
Profile :
http://community.jboss.org/people/WolfgangKnauf
Message:
--------------------------------------------------------------
Hi,
I think for an application client, you need this value for the URL_PKG_PREFIXES property:
props.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming.client");
If this does not work: anything special in your unit test setup? I have a small unit test
sample without problems (but I lookup the bean in the ENC, not by global name)
Hope this helps
Wolfgang
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/529677#529677