[omniORB] How to specify fix IIop port

Deepak Rokade smartpawn at gmail.com
Thu Jul 6 17:57:50 BST 2006


Hi,

How can I specify iiop port at server side ?
I tried giving option  -ORBInitialPort <port>
But it seems to be obsolete.

Also I tried using
 -ORBpoa_iiop_port <port no.>

but still I am getting error as

omniORB: ORB_init failed: Bad parameter (8787) for ORB configuration option
poa_
iiop_port, reason: poa_iiop_portis now obsolete, use -ORBendpoint instead
Traceback (most recent call last):
  File "server.py", line 121, in ?
    orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID)
  File "C:\omniORBpy-2.6\lib\python\omniORB\CORBA.py", line 451, in ORB_init
    omniORB.orb = ORB(argv, orb_identifier)
  File "C:\omniORBpy-2.6\lib\python\omniORB\CORBA.py", line 462, in __init__
    _omnipy.ORB_init(self, argv, orb_identifier)
omniORB.CORBA.INITIALIZE: Minor: INITIALIZE_InvalidORBInitArgs,
COMPLETED_NO.


& then if i tried "  -ORBendpoint 8989 " it says as follow.

Traceback (most recent call last):
  File "server.py", line 121, in ?
    orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID)
  File "C:\omniORBpy-2.6\lib\python\omniORB\CORBA.py", line 451, in ORB_init
    omniORB.orb = ORB(argv, orb_identifier)
  File "C:\omniORBpy-2.6\lib\python\omniORB\CORBA.py", line 462, in __init__
    _omnipy.ORB_init(self, argv, orb_identifier)
omniORB.CORBA.INITIALIZE: Minor: INITIALIZE_InvalidORBInitArgs,
COMPLETED_NO.


where I am wrong ??





-- 
Thanx & Regards,
Deepak Rokade

Do what u Enjoy &
                Enjoy what u Do...........
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20060706/a322e47a/attachment.htm


More information about the omniORB-list mailing list