users@glassfish.java.net

Re: Lookup problem using JNDI with Glassfish 9.1

From: <glassfish_at_javadesktop.org>
Date: Sat, 15 Dec 2007 22:32:21 PST

I am also having problems connecting a stand alone client to an application deployed in glassfish. I have tried all the setting already suggested on this forum with no success. I have currently on following what the glassfish documentation said on the article

https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#StandaloneRemoteEJB

which is:

1) zero argument constructor for the initialcontext
2) Include appserv-rt.jar,javaee.jar which supply a proper jndi.properties file to the application.
3) Supply the D option on the command line to specify my server address:
java -Dorg.omg.CORBA.ORBInitialHost=myiphere -jar MyApp.jar

When I run the application with the described configuration I get a strange error:

com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 127.0.0.2; port: 3700"

I don't where the 127.0.0.1 is commng from!! BTW I have my server on the DMZ of my firewall to eliminate any firewall issues. Port 3700 is explicitly open as well.

Any help would be appreciated, thanks.

Emil
[Message sent by forum member 'emilgoldfarb' (emilgoldfarb)]

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