users@glassfish.java.net

Re: GF 3.1.1 - remote client hung on lookup of connection ...

From: <forums_at_java.net>
Date: Wed, 29 Feb 2012 09:38:58 -0600 (CST)

Please read this FAQ:

http://glassfish.java.net/javaee5/ejb/EJB_FAQ.html#MDBJNDI

Even though it focuses on EJBs, there is a section that describes how to
construct the InitialContext.  Note that with GlassFish you do not pass a
Properties object to the InitialContext constructor.  Instead use the
no-args constructor and set system properties on the command line for the
host and port.

If you are already using the no-args InitialContext constructor and are
setting the initial host and port using system properties then it seems there
is some other problem.

- Tim


--
[Message sent by forum member 'tjquinn']
View Post: http://forums.java.net/node/846492