users@glassfish.java.net

Re: Accessing DataSources via JNDI remotely or from out-of-container vm's

From: <glassfish_at_javadesktop.org>
Date: Tue, 24 Jul 2007 06:02:52 PDT

Instead of setting these properties for InitialContext, can you try:

ic = new InitialContext(); //do not set any properties to context.

Try :
java -Dorg.omg.CORBA.ORBInitialHost=HOSTNAME -Dorg.omg.CORBA.ORBInitialPort=3700 Client
[Message sent by forum member 'jr158900' (jr158900)]

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