users@glassfish.java.net

Re: Problem connecting client to glassfish server.

From: <glassfish_at_javadesktop.org>
Date: Wed, 06 May 2009 00:41:37 PDT

You don't tell to client connection port to which need connect. Please try to add these lines:

            Properties p1 = new Properties();
            p1.put("org.omg.CORBA.ORBInitialHost", "localhost");
            p1.put("org.omg.CORBA.ORBInitialPort", "3700");
            InitialContext ic = new InitialContext(p1);
[Message sent by forum member 'vektor79' (vektor79)]

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