users@glassfish.java.net

Re: remote EJB client: org.omg.CORBA.ORBInitialHost ignored?

From: Kristian Rink <kr_at_zimmer428.net>
Date: Tue, 13 Nov 2012 09:47:13 +0100

Harshad;

first off, thanks a bunch for your message, greatly appreciated.

Am Montag, 12. November 2012, 12:49:07 schrieb Harshad Vilekar:
> In place of the hostname, try using the ip address of the remote host
> -Dorg.omg.CORBA.ORBInitialHost=xxx.xxx.xxx.xxx". If that works, then
> check your hosts file. Adding hostname to ip address mapping to the
> hosts file on your system may help.

Already tried that. Same result, unfortunately. :(

What maybe confuses me even more is that, in that process, the client just
quietly "locks" / keeps waiting forever instead of spitting out an error
message such as "host not found" or "host is down". Just for the minutes, this
behaviour doesn't change much either while using
System.setProperty("org.omg.CORBA.ORBInitialHost") in the client
implementation or even using the InitialContext(Properties props) constructor
(which the glassfish.net EJB FAQ explicitely tells me not to do).

Am I still completely missing something in here?
TIA and all the best,
Kristian