users@glassfish.java.net

Re: GF 3.1.1: using -Dorg.omg.CORBA.ORBInitialHost in JVM ...

From: Dipl.-Ing. Torsten Liermann <lier_at_liermann-it.de>
Date: Thu, 29 Sep 2011 17:14:30 +0200

Set the property org.omg.CORBA.ORBInitialHost on client side as a system property and also in the InitialContext():

  System.setProperty("org.omg.CORBA.ORBInitialHost", host);
  
  Properties properties = new Properties();
  properties.setProperty("org.omg.CORBA.ORBInitialHost", host);
  ...
  ...
  Context ctx = new InitialContext(properties);

That works for me with glassfish 3.1.1

To.
  


On Thu, 29 Sep 2011 07:19:55 -0500 (CDT)
 forums_at_java.net wrote:
> I just tried changing the hosts file on the server, but to no avail.
> hosts file contained "127.0.0.1 localhost" so I commented that out and
>added the server's actual IP address and name.  Restarted server and client
>... same result.  Still trying to connect with "localhost" on 3700.  Very
>frustrating.  I'm open to try just about anything ... any ideas out there?
>
>Kris
>

>
>
>--
>
>[Message sent by forum member 'KrisFraley']
>
>View Post: http://forums.java.net/node/847316
>
>

----
Dipl.-Ing. Torsten Liermann          Tel: +49 151/11565077
Theodolindenplatz 2                  Fax: +49 89/95449198 
81545 München                       http://liermann-it.de