users@glassfish.java.net

Re: EJB remote deployed on GF 3.1 behind a NAT unaccessible

From: <forums_at_java.net>
Date: Tue, 30 Oct 2012 10:39:24 -0500 (CDT)

i have view a video on youtube : Part V - Calling a stateful bean using jndi
lookup with GlassFish [1] . Into the video a read:
System.setProperty("org.omg.CORBA.ORBInitialHost", "localhost");
InitialContext ctx= new InitialContext();
ctx.addToEnvironment("org.omg.CORBA.ORBInitialPort", "3700"); whi the
propertie "org.omg.CORBA.ORBInitialHost", "localhost" it is set up 2 times?
System.setProperty("org.omg.CORBA.ORBInitialHost", "localhost");
ctx.addToEnvironment("org.omg.CORBA.ORBInitialHost", "localhost");
.....................................................................

[1] http://www.youtube.com/watch?v=vbTucFCcqoU&amp;feature=relmfu

--
[Message sent by forum member 'mauro2011']
View Post: http://forums.java.net/node/891564