[jboss-user] [EJB 3.0 Development] New message: "Re: lookup for remote bean - failure (only from eclipse)"

Wolfgang Knauf do-not-reply at jboss.com
Wed Mar 3 10:33:38 EST 2010

User development,

A new message was posted in the thread "lookup for remote bean - failure (only from eclipse)":


Author  : Wolfgang Knauf
Profile : http://community.jboss.org/people/WolfgangKnauf

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


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

More information about the jboss-user mailing list