users@glassfish.java.net

ctx.lookup glassfish v3

From: <glassfish_at_javadesktop.org>
Date: Thu, 10 Sep 2009 10:23:46 PDT

trying to loosely follow:
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html

i got the ctx.lookup to work as show in step 3 - but now i'm ready to move it off the glassfish server and do a lookup using a different host as shown in step 4. i first tried it on the same host but i provided the ip address from ifconfig -a:
java -Dorg.omg.CORBA.ORBInitialHost=10.0.90.21 SessionBeanClient
and that worked.

then i moved the program to another (virtual) host and tried it there - i get an InitialContext, but then the ctx.lookup hangs. the glassfish server is a standard opensolaris download - i checked "svcs -a" and ipfilter is disabled. is there another place that the jndi port could be blocked. is there a simple way to check if the port is open? telnet?

thanks-
[Message sent by forum member 'xdavidx' (dscott_at_pathworkdx.com)]

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