users@glassfish.java.net

Re: ORB/IIOP listeners -- Connection timeout when server is not on localhos

From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Apr 2008 07:39:09 PDT

The issue is that your application contacts the remote server which returns the forward address to what it thinks is itself: in your case this is 192.168.100.182.

This can be observed with Wireshark: For initial GIOP _is_a operation server responds with GIOP Location Forward operation containing its internal server IP address.

You can change this by adding java initial parameter -Dorg.omg.CORBA.ORBInitialHost=<ServerPublicAddress> to the "java" invocation in your server startup script.

This problem is reported as a bug for Sun One 9.1:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6527987

Cheers
Jakub
[Message sent by forum member 'j_nowicki' (j_nowicki)]

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