Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > RMI/IIOP Why always running on random port

Reply
Thread Tools

RMI/IIOP Why always running on random port

 
 
M D
Guest
Posts: n/a
 
      12-12-2006
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","c om.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?



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 4.10 Why aren't my random numbers random? PerlFAQ Server Perl Misc 0 04-27-2011 04:00 AM
FAQ 4.10 Why aren't my random numbers random? PerlFAQ Server Perl Misc 0 02-12-2011 11:00 PM
Math.random() and Math.round(Math.random()) and Math.floor(Math.random()*2) VK Javascript 15 05-02-2010 03:43 PM
random.random(), random not defined!? globalrev Python 4 04-20-2008 08:12 AM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM



Advertisments