users@glassfish.java.net

RE: Problem connecting to a remote SessionBean deployed on Glassf ish from Tomcat

From: Martin, Ray <armart3_at_tycho.ncsc.mil>
Date: Mon, 23 Oct 2006 12:02:41 -0400

Sir,

These are great posts even though you received no reply. I too was having a
problem with SessionBeans from Glassfish. Now I will have something to
refer to and see if I can get success. Thank you for posting. I will be
reading your posts in close detail.

Ray

-----Original Message-----
From: Wouter van Reeven [mailto:wouter_at_van.reeven.nl]
Sent: Sunday, October 22, 2006 3:18 PM
To: users_at_glassfish.dev.java.net
Subject: Re: Problem connecting to a remote SessionBean deployed on
Glassfish from Tomcat


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