M
M D
I am ttrying to specify the registering port for IIOP listener, but
it always gives me the following message with a random port number.
INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the
specified host/port: all interfaces/1642"
ORBInitialPort i specify is not that port IIIOP listener is created?
The following is that source code I am using to get the EJB.
props.setProperty("org.omg.CORBA.ORBInitialHost", "192.168.1.196");
props.setProperty("org.omg.CORBA.ORBInitialPort", "4444");
props.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory");
InitialContext initial = new InitialContext(props);
System.out.println("initial="+ initial);
Object o =
initial.lookup("corbaname:iiop:192.168.1.196:4444#ejb/SFHelloBean");
What is wrong?
it always gives me the following message with a random port number.
INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the
specified host/port: all interfaces/1642"
ORBInitialPort i specify is not that port IIIOP listener is created?
The following is that source code I am using to get the EJB.
props.setProperty("org.omg.CORBA.ORBInitialHost", "192.168.1.196");
props.setProperty("org.omg.CORBA.ORBInitialPort", "4444");
props.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory");
InitialContext initial = new InitialContext(props);
System.out.println("initial="+ initial);
Object o =
initial.lookup("corbaname:iiop:192.168.1.196:4444#ejb/SFHelloBean");
What is wrong?