Hi Wouter,
Thanks for your pointing out the issue with the listener listening on
0.0.0.0 and also for the solution. I am surprised that 0.0.0.0 doesn't
work. I'll update the FAQ and also find out what exactly happens when
listener ip address is set to 0.0.0.0
Thanks,
--Mahesh
Jason.Huang_at_Sun.COM wrote:
> Hi, Wouter
>
> It works now. Many thanks.
>
> EJB team, I suggest to modify the FAQ page or add the link of Wouter's
> blog to the FAQ page which will save others' time.
>
> --Jason
>
> Wouter van Reeven wrote:
>
>> Hi Jason,
>>
>>
>> I encountered the same problem. After searching for a long time I
>> found several extra
>> necessary steps in order to get this working. First of all, see
>>
>> http://technology.amis.nl/blog/?p=1368
>>
>> Next, make sure that IIOP is listening to the correct IP address. If
>> you go to the
>> Glassfish admin console, go to the IIOP settings under configuration.
>> The default IIOP
>> listener is listening on port 3700 at ip address 0.0.0.0 which will
>> result in a
>> connection error if you try to connect to it from another host. If
>> you try to connect to
>> it from the samen host, this will go ok.
>> In order to connect to it from a remote host, add another IIOP
>> listener on e.g. port
>> 3701 and make sure that it ONLY listens on the "external" ip address
>> of the Glassfish
>> server, e.g. 192.168.0.1 if that is it's IP address.
>> After this I had no problems anymore connecting to my remote session
>> beans.
>>
>>
>> Greets, Wouter van Reeven
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net
>