users@glassfish.java.net

Re: javax.naming.Context properties changed in v2 (vs. v1)?

From: <glassfish_at_javadesktop.org>
Date: Wed, 02 May 2007 20:05:59 PDT

Answering my own question.
This entry in the EJB faq explains how not to worry about Context properties:
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#StandaloneRemoteEJB
In a nutshell, simply add appserver-rt.jar to your classpath and use the no-arg constructor.

The problem is not solved just yet because trying to list the entire JNDI tree triggers an exception filed as bug # 2926 (https://glassfish.dev.java.net/issues/show_bug.cgi?id=2926)
[Message sent by forum member 'alexismp' (alexismp)]

http://forums.java.net/jive/thread.jspa?messageID=215260