users@glassfish.java.net

Re: Problem connecting to a remote SessionBean deployed on Glassfish from Tomcat

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Sun, 22 Oct 2006 21:18:09 +0200

On Sun, Oct 22, 2006 at 03:28:07PM +0200, To users_at_glassfish.dev.java.net wrote:
> This is incredible:
>
> Oct 22, 2006 3:26:37 PM com.sun.appserv.naming.RoundRobinPolicy
> getEndpointForProviderURL
> WARNING: NAM1001: No Endpoints selected in com.sun.appserv.iiop.endpoints
> property. Using JNDI Provider URL iiop://galaxy:3700 instead
> GroupInfoServiceBase(main): .addObserver->:
> com.sun.appserv.naming.GroupInfoServiceObserverImpl_at_1a80a69
> GroupInfoServiceBase(main): .addObserver<-:
> com.sun.appserv.naming.GroupInfoServiceObserverImpl_at_1a80a69 true
> Oct 22, 2006 3:26:41 PM com.sun.appserv.naming.RoundRobinPolicy
> getEndpointForProviderURL
> WARNING: NAM1001: No Endpoints selected in com.sun.appserv.iiop.endpoints
> property. Using JNDI Provider URL iiop://galaxy:3700 instead
> Oct 22, 2006 3:26:41 PM
> com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
> WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType:
> IIOP_CLEAR_TEXT; hostname: 127.0.1.1; port: 3700"
>
> It still doesn't work. I am *THIS* close to giving up...

I'm sorry I sent this email earlier today. It was kinda frustrating running into
the same error messages over and over again. I am very happy to report that I
finally found someone to help me get this work. A person calling him/herself
cf126330 on java.net told me to modify the ip address that the iiop listener was
listening on on the Glassfish server. It was set to 0.0.0.0 but when I set it to
the eth0 ip address of the machine Glassfish is running on, all my code started
working :-)
Now it only works when I connect from another machine since IIOP no longer is
listening at the localhost address. I will define another IIOP listener for
those instances if I ever need them again.


Thanks, Wouter

-- 
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"