[omniORB] RE: Exception thrown when calling resolve_initial_r eferences

Byerly_John John.Byerly@marconi.com
Mon, 7 Aug 2000 12:28:49 -0500


Thanks for your reply.

I added the -ORBInitRef parameter to my executable arg list.  The exception
is still thrown upon startup.  Here is the trace:

omniORB: Initialising omniDynamic library.
omniORB: Initialising incoming rope factories.
omniORB: strand Ripper: start.
omniORB: scavenger : start.
omniORB: strand Rope::incrRefCount: old value = 0
DLL ScannerD loaded successfully
DLL OvertureLSeriesD loaded successfully
omniORB: Activating: boa<0x398ee1ea00000dad00000001>
omniORB: Creating ref to local: boa<0x398ee1ea00000dad00000001>
 target id      : IDL:MCORBAEventManager:1.0
 most derived id: IDL:MCORBAEventManager:1.0
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id:
omniORB: Initial reference `NameService' resolved from -ORBInitRef argument.
omniORB: scavenger : scanning connections
omniORB: scavenger : scanning connections
omniORB: scavenger : scanning connections
omniORB: scavenger : scanning connections
omniORB: scavenger : scanning connections
omniORB: scavenger : scanning connections
omniORB: throw omniConnectionBroken from tcpSocketMTfactory.cc:1065
omniORB: tcpSocketStrand::~Strand() close socket no. 4294967295
omniORB: throw COMM_FAILURE from remoteIdentity.cc:178
DLL EventManagementD loaded successfully
DLL MCommunications_TestD loaded successfully
DLL HiResD loaded successfully
DLL TerminalD loaded successfully
omniORB: Activating: boa<0x398ee1ea00000dad00000002>
omniORB: Creating ref to local: boa<0x398ee1ea00000dad00000002>
 target id      : IDL:MCORBAUserInterfaceManager:1.0
 most derived id: IDL:MCORBAUserInterfaceManager:1.0
omniORB: Initial reference `NameService' resolved from -ORBInitRef argument.
ll_send: 108 bytes
4749 4f50 0100 0100 6000 0000 0000 0000 GIOP....`.......
0100 0000 0100 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6500 0600 0000 5f69 735f Service....._is_
6100 0000 0700 0000 6e6f 626f 6479 0000 a.......nobody..
2800 0000 4944 4c3a 6f6d 672e 6f72 672f (...IDL:omg.org/
436f 734e 616d 696e 672f 4e61 6d69 6e67 CosNaming/Naming
436f 6e74 6578 743a 312e 3000           Context:1.0.
Searching local machine
Marsh group found
Username: Administrator ()
Username: new1 ()
Username: ELUMALAI (Sankaranarayanan ELUMALAI)
ll_recv: 25 bytes
4749 4f50 0100 0101 0d00 0000 0000 0000 GIOP............
0100 0000 0000 0000 01                  .........
omniORB: strand Rope::incrRefCount: old value = 1
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
 target id      : IDL:omg.org/CosNaming/NamingContext:1.0
 most derived id:
ll_send: 108 bytes
4749 4f50 0100 0100 6000 0000 0000 0000 GIOP....`.......
0200 0000 0100 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6500 0600 0000 5f69 735f Service....._is_
6100 0000 0700 0000 6e6f 626f 6479 0000 a.......nobody..
2800 0000 4944 4c3a 6f6d 672e 6f72 672f (...IDL:omg.org/
436f 734e 616d 696e 672f 4e61 6d69 6e67 CosNaming/Naming
436f 6e74 6578 743a 312e 3000           Context:1.0.
ll_recv: 25 bytes
4749 4f50 0100 0101 0d00 0000 0000 0000 GIOP............
0200 0000 0000 0000 01                  .........
ll_send: 200 bytes
4749 4f50 0100 0100 bc00 0000 0000 0000 GIOP............
0300 0000 0100 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6500 0500 0000 6269 6e64 Service.....bind
0000 0000 0700 0000 6e6f 626f 6479 0000 ........nobody..
0100 0000 1500 0000 5573 6572 496e 7465 ........UserInte
7266 6163 654d 616e 6167 6572 0069 6e67 rfaceManager.ing
0100 0000 0078 743a 2300 0000 4944 4c3a .....xt:#...IDL:
4d43 4f52 4241 5573 6572 496e 7465 7266 MCORBAUserInterf
6163 654d 616e 6167 6572 3a31 2e30 0000 aceManager:1.0..
0100 0000 0000 0000 2c00 0000 0101 0000 ........,.......
0f00 0000 3230 362e 3135 322e 3139 342e ....206.152.194.
3338 00cd 6805 cdcd 0c00 0000 398e e1ea 38..h.......9...
0000 0dad 0000 0002                     ........
ll_recv: 81 bytes
4749 4f50 0100 0101 4500 0000 0000 0000 GIOP....E.......
0300 0000 0100 0000 3500 0000 4944 4c3a ........5...IDL:
6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin
672f 4e61 6d69 6e67 436f 6e74 6578 742f g/NamingContext/
416c 7265 6164 7942 6f75 6e64 3a31 2e30 AlreadyBound:1.0
00                                      .
ll_send: 200 bytes
4749 4f50 0100 0100 bc00 0000 0000 0000 GIOP............
0400 0000 0100 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6500 0700 0000 7265 6269 Service.....rebi
6e64 0000 0700 0000 6e6f 626f 6479 0000 nd......nobody..
0100 0000 1500 0000 5573 6572 496e 7465 ........UserInte
7266 6163 654d 616e 6167 6572 0069 6e67 rfaceManager.ing
0100 0000 0078 743a 2300 0000 4944 4c3a .....xt:#...IDL:
4d43 4f52 4241 5573 6572 496e 7465 7266 MCORBAUserInterf
6163 654d 616e 6167 6572 3a31 2e30 0000 aceManager:1.0..
0100 0000 0000 0000 2c00 0000 0101 0000 ........,.......
0f00 0000 3230 362e 3135 322e 3139 342e ....206.152.194.
3338 00cd 6805 cdcd 0c00 0000 398e e1ea 38..h.......9...
0000 0dad 0000 0002                     ........
ll_recv: 24 bytes
4749 4f50 0100 0101 0c00 0000 0000 0000 GIOP............
0400 0000 0000 0000                     ........
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 2
omniORB: ObjRef() -- deleted.
omniORB: Starting incoming rope factories.
omniORB: tcpSocketMTfactory Rendezvouser: start.
omniORB: tcpSocketMTfactory Rendezvouser: block on accept()
omniORB: scavenger : scanning connections
omniORB: scavenger : scanning connections



> -----Original Message-----
> From: Duncan Grisby [mailto:dgrisby@uk.research.att.com]
> Sent: Monday, August 07, 2000 12:48 PM
> To: Byerly_John
> Cc: 'omniorb-list@uk.research.att.com'
> Subject: Re: [omniORB] RE: Exception thrown when calling
> resolve_initial_references 
> 
> 
> On Monday 7 August, Byerly_John wrote:
> 
> > I tried launching omniORB on my machine (PARADISE, an NT 
> workstation in a
> > workgroup) with the following argument list
> > 
> > 	omniNames -start 1570 -logdir C:\OmniNames -ORBInitRef
> > NameService=corbaname::PARADISE
> > 
> > and got the following error
> > 
> > 	C:\>omninames -start 1570 -logdir C:\omninames -ORBInitRef
> > corbaname::PARADISE
> > 	omniORB: CORBA::ORB_init failed: invalid -ORBInitRef parameter
> > `corbaname::PARADISE'.
> 
> The second time you give the command line above, you've missed out the
> "NameService=" bit, which is the cause of the error message. That
> said, you don't need to give the -ORBInitRef argument to omniNames at
> all -- that is used to tell _other_ programs where to find omniNames.
> omniNames knows where to find itself.
> 
> The fact that you are giving a port number to "omniNames -start" means
> that when you want to point other programs to it, you have to give the
> port number, for example:
> 
>   eg3_impl -ORBInitRef NameService=corbaname::PARADISE:1570
> 
> If you just say "omniNames -start" without the port number, it uses
> the default port of 2809, so you can just use:
> 
>   eg3_impl -ORBInitRef NameService=corbaname::PARADISE
> 
> Cheers,
> 
> Duncan.
> 
> -- 
>  -- Duncan Grisby  \  Research Engineer  --
>   -- AT&T Laboratories Cambridge          --
>    -- http://www.uk.research.att.com/~dpg1 --
>