GIOP/IIOP trouble with ORBit2 CVS HEAD (long)



Hi all,

I am trying to bootstrap a connection to a remote corba object which is
implemented using TAO. 

I am using either resolve_initial_references() or corbaloc to bootstrap
the connection. My command line arguments to ORB_init() are:

** Message: argv[0] = ./brutus_client
** Message: argv[1] = --ORBInitRef=BrutusLogOn=corbaloc:iiop:10.0.32.2:951/BRUTUS_LOGON GROUP_POA:0
** Message: argv[2] = --ORBInitRef=MAPIFunctions=corbaloc:iiop:10.0.32.2:951/MAPI_FUNCTIONS GROUP_POA:1
** Message: argv[3] = --ORBIIOPIPv4=1


The problem is that I always get a "Retry demarshal" when receiving the
answer from TAO. The GIOP request is then resend to the TAO object which
answers and the remarshaling repeats. This goes on indefinitely. 

Anybody out there with GIOP/IIOP expertise that can help me explain what
happens here?

Thanks,
  jules


The following output contain additional debug strings inserted into
ORBit2 by myself. Please disregard those. The scenario is that the
BrutusLogOn::Logon() method is invoked by the client (ORBit2) on the
BrutusLogOn object reference. The BrutusLogOn object is instantiated by
the server (TAO).


##########  CORBALOC Bootstrapping:
<SNIP>
    Choosing initial bootstrap method.. corbaloc
    Composing corbaloc strings.. ok.
        BrutusLogOn corbaloc string   : "corbaloc:iiop:10.0.32.2:951/BRUTUS_LOGON GROUP_POA:0"
        MAPIFunctions corbaloc string : "corbaloc:iiop:10.0.32.2:951/MAPI_FUNCTIONS GROUP_POA:1"
    Test notifications.. no

Initializing CORBA.. 
    Invoking ORB_Init().. ** Message: argv[0] = ./brutus_client
** Message: argv[1] = --ORBInitRef=BrutusLogOn=corbaloc:iiop:10.0.32.2:951/BRUTUS_LOGON GROUP_POA:0
** Message: argv[2] = --ORBInitRef=MAPIFunctions=corbaloc:iiop:10.0.32.2:951/MAPI_FUNCTIONS GROUP_POA:1
** Message: argv[3] = --ORBIIOPIPv4=1

** (process:28582): WARNING **: -- Forced orb into threaded mode --
Have safe dir '/tmp/orbit-colding'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_object_by_corbaloc() calling ORBit_objref_find()
** Message: ORBit_objref_find() - type_id is 
Lookup '' (0x81f2100) == (nil)
Profiles: P-IIOP 10.0.32.2:0x3b7 '4252555455535f4c4f474f4e4047524f55505f504f413a30'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_objref_find() - calling ORBit_register_objref()
** Message: ORBit_register_objref(): Object inserted in hash table ''
** Message: ORBit_object_by_corbaloc() DONE calling ORBit_objref_find()
** Message: ORBit_object_by_corbaloc() calling ORBit_objref_find()
** Message: ORBit_objref_find() - type_id is 
Lookup '' (0x81f2108) == (nil)
Profiles: P-IIOP 10.0.32.2:0x3b7 '4d4150495f46554e4354494f4e534047524f55505f504f413a31'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_objref_find() - calling ORBit_register_objref()
** Message: ORBit_register_objref(): Object inserted in hash table ''
** Message: ORBit_object_by_corbaloc() DONE calling ORBit_objref_find()
ok
    Getting root POA.. ok
    Getting root POAManager.. ok

Bootstrapping Brutus.. 
    Getting reference to BrutusLogOn object.. 
        resolving.. ** Message: ORBit_object_by_corbaloc() calling ORBit_objref_find()
** Message: ORBit_objref_find() - type_id is 
Profiles match:
'':P-IIOP 10.0.32.2:0x3b7 '4252555455535f4c4f474f4e4047524f55505f504f413a30'
'':P-IIOP 10.0.32.2:0x3b7 '4252555455535f4c4f474f4e4047524f55505f504f413a30'
Lookup '' (0x81f2128) == 0x8203250
Profiles: P-IIOP 10.0.32.2:0x3b7 '4252555455535f4c4f474f4e4047524f55505f504f413a30'
** Message: ORBit_object_by_corbaloc() DONE calling ORBit_objref_find()
    ok
    Getting reference to MAPIFunctions object.. 
        resolving.. ** Message: ORBit_object_by_corbaloc() calling ORBit_objref_find()
** Message: ORBit_objref_find() - type_id is 
Profiles match:
'':P-IIOP 10.0.32.2:0x3b7 '4d4150495f46554e4354494f4e534047524f55505f504f413a31'
'':P-IIOP 10.0.32.2:0x3b7 '4d4150495f46554e4354494f4e534047524f55505f504f413a31'
Lookup '' (0x81f2128) == 0x8203628
Profiles: P-IIOP 10.0.32.2:0x3b7 '4d4150495f46554e4354494f4e534047524f55505f504f413a31'
** Message: ORBit_object_by_corbaloc() DONE calling ORBit_objref_find()
    ok

Starting Brutus operations.. 
    Logging on using the MAPI profile.. 
Initiated a connection to 'IPv4' '10.0.32.2' '951'
p28582 1108728063.206614 : ([0x8203250])->Logon (Align = 12
Marshal: id 0xbfe007f0
 'lpszProfileName' : kind - 18, i 'Test One Profile',  'lpszPassword' : kind - 18, i 'test_password',  'flFlags' : kind - 5, i 0x10, )Outgoing IIOP data:
0x0000:   47 49 4f 50  01 01 01 00  7c 00 00 00  XX XX XX XX | GIOP....|...****
 --- 
0x000c:   01 00 00 00  01 00 00 00  0c 00 00 00  01 01 01 01 | ................
0x001c:   01 00 01 05  09 01 01 00  f0 07 e0 bf  01 00 00 00 | ................
0x002c:   18 00 00 00  42 52 55 54  55 53 5f 4c  4f 47 4f 4e | ....BRUTUS_LOGON
0x003c:   40 47 52 4f  55 50 5f 50  4f 41 3a 30  06 00 00 00 | @GROUP_POA:0....
0x004c:   4c 6f 67 6f  6e 00 00 00  00 00 00 00  11 00 00 00 | Logon...........
0x005c:   54 65 73 74  20 4f 6e 65  20 50 72 6f  66 69 6c 65 | Test.One.Profile
0x006c:   00 00 00 00  0e 00 00 00  74 65 73 74  5f 70 61 73 | ........test_pas
0x007c:   73 77 6f 72  64 00 00 00  10 00 00 00  XX XX XX XX | sword.......****
 --- 
Incoming IIOP header:
0x0000:   47 49 4f 50  01 01 01 01  b0 00 00 00  XX XX XX XX | GIOP........****
 --- 
Incoming IIOP body:
0x000c:   00 00 00 00  f0 07 e0 bf  03 00 00 00  26 00 00 00 | ............&...
0x001c:   49 44 4c 3a  6f 6d 63 2e  62 72 75 74  75 73 2f 42 | IDL:omc.brutus/B
0x002c:   52 55 54 55  53 2f 42 72  75 74 75 73  4c 6f 67 4f | RUTUS/BrutusLogO
0x003c:   6e 3a 31 2e  30 00 00 00  01 00 00 00  00 00 00 00 | n:1.0...........
0x004c:   6c 00 00 00  01 01 02 cd  0a 00 00 00  31 30 2e 30 | l...........10.0
0x005c:   2e 33 32 2e  32 00 b7 03  23 00 00 00  14 01 0f 00 | .32.2...#.......
0x006c:   4e 53 54 45  d6 15 42 c9  d3 0b 00 02  00 00 00 01 | NSTE..B.........
0x007c:   00 00 00 00  00 00 00 01  00 00 00 01  00 00 00 cd | ................
0x008c:   02 00 00 00  00 00 00 00  08 00 00 00  01 cd cd cd | ................
0x009c:   00 4f 41 54  01 00 00 00  14 00 00 00  01 cd cd cd | .OAT............
0x00ac:   01 00 01 00  00 00 00 00  09 01 01 00  00 00 00 00 | ................
 --- 
handling reply
 Exception: forward (0x8203b80)Retry demarshal on id 0xbfe007f0

### THIS IS A COMMENT INSERTED TO EXPLAIN THE OUTPUT ABOVE
###
### Everything from the 
###
### "Initiated a connection to 'IPv4' '10.0.32.2' '951'"
###
### to the 
###
### "Exception"
###
### is repeated over and over again
###

##########  resolve_initial_references() Bootstrapping: 
    Choosing initial bootstrap method.. resolve_initial_references()
    Test notifications.. no

Initializing CORBA.. 
    Invoking ORB_Init().. ** Message: argv[0] = ./brutus_client
** Message: argv[1] = --ORBInitRef=BrutusLogOn=corbaloc:iiop:10.0.32.2:951/BRUTUS_LOGON GROUP_POA:0
** Message: argv[2] = --ORBInitRef=MAPIFunctions=corbaloc:iiop:10.0.32.2:951/MAPI_FUNCTIONS GROUP_POA:1
** Message: argv[3] = --ORBIIOPIPv4=1

** (process:28590): WARNING **: -- Forced orb into threaded mode --
Have safe dir '/tmp/orbit-colding'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_RootObject_init(): Object inserted in hash table 'GParamUnichar'
** Message: ORBit_object_by_corbaloc() calling ORBit_objref_find()
** Message: ORBit_objref_find() - type_id is 
Lookup '' (0x9c6e100) == (nil)
Profiles: P-IIOP 10.0.32.2:0x3b7 '4252555455535f4c4f474f4e4047524f55505f504f413a30'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_objref_find() - calling ORBit_register_objref()
** Message: ORBit_register_objref(): Object inserted in hash table ''
** Message: ORBit_object_by_corbaloc() DONE calling ORBit_objref_find()
** Message: ORBit_object_by_corbaloc() calling ORBit_objref_find()
** Message: ORBit_objref_find() - type_id is 
Lookup '' (0x9c6e108) == (nil)
Profiles: P-IIOP 10.0.32.2:0x3b7 '4d4150495f46554e4354494f4e534047524f55505f504f413a31'
** Message: ORBit_RootObject_init(): Object inserted in hash table '(null)'
** Message: ORBit_objref_find() - calling ORBit_register_objref()
** Message: ORBit_register_objref(): Object inserted in hash table ''
** Message: ORBit_object_by_corbaloc() DONE calling ORBit_objref_find()
ok
    Getting root POA.. ok
    Getting root POAManager.. ok

Bootstrapping Brutus.. 
    Getting reference to BrutusLogOn object.. 
        resolving..     ok
    Getting reference to MAPIFunctions object.. 
        resolving..     ok

Starting Brutus operations.. 
    Logging on using the MAPI profile.. 
Initiated a connection to 'IPv4' '10.0.32.2' '951'
p28590 1108728157.298921 : ([0x9c7f0e8])->Logon (Align = 12
Marshal: id 0xbfe952f0
 'lpszProfileName' : kind - 18, i 'Test One Profile',  'lpszPassword' : kind - 18, i 'test_password',  'flFlags' : kind - 5, i 0x10, )Outgoing IIOP data:
0x0000:   47 49 4f 50  01 01 01 00  7c 00 00 00  XX XX XX XX | GIOP....|...****
 --- 
0x000c:   01 00 00 00  01 00 00 00  0c 00 00 00  01 01 01 01 | ................
0x001c:   01 00 01 05  09 01 01 00  f0 52 e9 bf  01 00 00 00 | .........R......
0x002c:   18 00 00 00  42 52 55 54  55 53 5f 4c  4f 47 4f 4e | ....BRUTUS_LOGON
0x003c:   40 47 52 4f  55 50 5f 50  4f 41 3a 30  06 00 00 00 | @GROUP_POA:0....
0x004c:   4c 6f 67 6f  6e 00 00 00  00 00 00 00  11 00 00 00 | Logon...........
0x005c:   54 65 73 74  20 4f 6e 65  20 50 72 6f  66 69 6c 65 | Test.One.Profile
0x006c:   00 00 00 00  0e 00 00 00  74 65 73 74  5f 70 61 73 | ........test_pas
0x007c:   73 77 6f 72  64 00 00 00  10 00 00 00  XX XX XX XX | sword.......****
 --- 
Incoming IIOP header:
0x0000:   47 49 4f 50  01 01 01 01  b0 00 00 00  XX XX XX XX | GIOP........****
 --- 
Incoming IIOP body:
0x000c:   00 00 00 00  f0 52 e9 bf  03 00 00 00  26 00 00 00 | .....R......&...
0x001c:   49 44 4c 3a  6f 6d 63 2e  62 72 75 74  75 73 2f 42 | IDL:omc.brutus/B
0x002c:   52 55 54 55  53 2f 42 72  75 74 75 73  4c 6f 67 4f | RUTUS/BrutusLogO
0x003c:   6e 3a 31 2e  30 00 00 00  01 00 00 00  00 00 00 00 | n:1.0...........
0x004c:   6c 00 00 00  01 01 02 cd  0a 00 00 00  31 30 2e 30 | l...........10.0
0x005c:   2e 33 32 2e  32 00 b7 03  23 00 00 00  14 01 0f 00 | .32.2...#.......
0x006c:   4e 53 54 45  d6 15 42 c9  d3 0b 00 02  00 00 00 01 | NSTE..B.........
0x007c:   00 00 00 00  00 00 00 01  00 00 00 01  00 00 00 cd | ................
0x008c:   02 00 00 00  00 00 00 00  08 00 00 00  01 cd cd cd | ................
0x009c:   00 4f 41 54  01 00 00 00  14 00 00 00  01 cd cd cd | .OAT............
0x00ac:   01 00 01 00  00 00 00 00  09 01 01 00  00 00 00 00 | ................
 --- 
handling reply
 Exception: forward (0x9c80ab8)Retry demarshal on id 0xbfe952f0

### THIS IS A COMMENT INSERTED TO EXPLAIN THE OUTPUT ABOVE
###
### Everything from the 
###
### "Initiated a connection to 'IPv4' '10.0.32.2' '951'"
###
### to the 
###
### "Exception"
###
### is repeated over and over again






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]