users@glassfish.java.net

Re: JNDI properties for remote lookup

From: <glassfish_at_javadesktop.org>
Date: Thu, 07 May 2009 07:13:50 PDT

Now I have replaced the server name with the IP address

[code]
properties.put("java.naming.provider.url","iiop://10.18.9.43:19437");
properties.put("org.omg.CORBA.ORBInitialHost", "10.18.9.43");
properties.put("org.omg.CORBA.ORBInitialPort", "19437");
[/code]

But connecting still fails and the exception message still points to the host-name 127.0.0.1 (see exception message above);

To be more detailed:
* Glassfish 2.1.0 libraries (javaee.jar, appserv-deployment-client.jar, appserv-ext.jar, appserv-rt.jar)
* JDK 1.6.0_13
* Simple JUnit test with JNDI-lookup
[Message sent by forum member 'tomkri' (tomkri)]

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