users@glassfish.java.net

Re: Lookup problem using JNDI with Glassfish 9.1

From: Binod <Binod.Pg_at_Sun.COM>
Date: Mon, 17 Dec 2007 11:17:29 +0530

Please see what is the hostname of the remote machine resolve to?

For example, if you are accessing app1 in machine1 from a remote client,
make sure that the hostname in machine1 resolve to its proper address and
not 127.0.0.1

HTH,
Binod.
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>