[omniORB] CALLBACK PROBLEM. PLEASE ADVISE.

aaron bernardino agbernardino at up.edu.ph
Sat Aug 27 01:28:41 BST 2005


Greetings.  I am currently working on my undergrad thesis involving an OmniORB
server making callbacks to a JacORB applet.  I am using OmniNames, bidir GIOP
and I also have a signed applet.  The callback executes successfully but after
execution, an exception is thrown in the server.  Here are parts of the traces
from OmniORB and JacORB. Sorry for the long post, I just felt the need to
supply as much info I can = )

***************************************************************************
FROM OMNIORB :
****************************************************************************
.
..
...
omniORB: (3) Accepted connection from giop:tcp:10.36.15.168:1133 because of this
rule: "* bidir,unix,tcp,ssl"
omniORB: (3) inputMessage: from giop:tcp:10.36.15.168:1133 292 bytes
omniORB: (3)
4749 4f50 0102 0000 0000 0118 0000 0000 GIOP............
0300 0000 0000 0000 0000 000e fe1d 2c0f ..............,.
4300 000f 6e00 0000 0001 0000 0000 0012 C...n...........
7265 6769 7374 6572 5f63 616c 6c62 6163 register_callbac
6b00 0000 0000 0002 0000 0005 0000 0016 k...............
0000 0000 0000 0001 0000 0007 5361 7375 ............Sasu
6b65 0000 046c 0000 0000 0001 0000 000c ke...l..........
0000 0000 0001 0001 0001 0109 0000 0000 ................
0000 001d 4944 4c3a 4c41 4e5f 526f 7665 ....IDL:LAN_Rove
722f 5573 6572 4d6f 6475 6c65 3a31 2e30 r/UserModule:1.0
0000 0000 0000 0001 0000 0000 0000 0074 ...............t
0001 0200 0000 0007 5361 7375 6b65 0000 ........Sasuke..
046c 0000 0000 0022 5374 616e 6461 7264 .l....."Standard
496d 706c 4e61 6d65 2f62 6964 6972 2f00 ImplName/bidir/.
141b 3f15 1a19 2401 2005 0000 0000 0002 ..?...$. .......
0000 0000 0000 0008 0000 0000 4a41 4300 ............JAC.
0000 0001 0000 001c 0000 0000 0001 0001 ................
0000 0001 0501 0001 0001 0109 0000 0001 ................
0501 0001                               ....
omniORB: (3)  recieve codeset service context and set TCS to (ISO-8859-1,UTF-16)
omniORB: (3)  receive bidir IIOP service context: ( Sasuke:1132 )
omniORB: (3) Accepted request from giop:tcp:10.36.15.168:1133 to switch to
bidirectional because of this rule: "* bidir,unix,tcp,ssl"
omniORB: (3) Dispatching remote call 'register_callback' to: root<1> (active)
omniORB: (3) Creating ref to remote: key<StandardImplName.bidir............>
 target id      : IDL:LAN_Rover/UserModule:1.0
 most derived id: IDL:LAN_Rover/UserModule:1.0
omniORB: (3) sendChunk: to giop:tcp:10.36.15.168:1133 24 bytes
omniORB: (3)
4749 4f50 0102 0101 0c00 0000 0000 0000 GIOP............
0000 0000 0000 0000                     ........
omniORB: (3) omniRemoteIdentity deleted.
omniORB: (3) ObjRef(IDL:LAN_Rover/UserModule:1.0) -- deleted.
omniORB: (3) inputMessage: from giop:tcp:10.36.15.168:1133 288 bytes
omniORB: (3)
4749 4f50 0102 0000 0000 0114 0000 0002 GIOP............
0300 0000 0000 0000 0000 000e fe1d 2c0f ..............,.
4300 000f 6e00 0000 0001 0000 0000 0009 C...n...........
6361 6c6c 6261 636b 0000 0000 0000 0001 callback........
0000 0005 0000 0016 0000 0000 0000 0001 ................
0000 0007 5361 7375 6b65 0000 046c 000f ....Sasuke...l..
0000 001d 4944 4c3a 4c41 4e5f 526f 7665 ....IDL:LAN_Rove
722f 5573 6572 4d6f 6475 6c65 3a31 2e30 r/UserModule:1.0
0000 0000 0000 0001 0000 0000 0000 0074 ...............t
0001 0200 0000 0007 5361 7375 6b65 0000 ........Sasuke..
046c 0000 0000 0022 5374 616e 6461 7264 .l....."Standard
496d 706c 4e61 6d65 2f62 6964 6972 2f00 ImplName/bidir/.
141b 3f15 1a19 2401 2005 0000 0000 0002 ..?...$. .......
0000 0000 0000 0008 0000 0000 4a41 4300 ............JAC.
0000 0001 0000 001c 0000 0000 0001 0001 ................
0000 0001 0501 0001 0001 0109 0000 0001 ................
0501 0001 0000 0018 7468 6973 2069 7320 ........this is
6672 6f6d 2074 6865 2063 6c69 656e 7400 from the client.
omniORB: (3)  receive bidir IIOP service context: ( Sasuke:1132 )
omniORB: (3) Accepted request from giop:tcp:10.36.15.168:1133 to switch to
bidirectional because of this rule: "* bidir,unix,tcp,ssl"
omniORB: (3) Dispatching remote call 'callback' to: root<1> (active)
omniORB: (3) Creating ref to remote: key<StandardImplName.bidir............>
 target id      : IDL:LAN_Rover/UserModule:1.0
 most derived id: IDL:LAN_Rover/UserModule:1.0

Message from the client = this is from the client

omniORB: (3) LocateRequest to remote: key<StandardImplName.bidir............>
omniORB: (3) Client attempt to connect to giop:tcp:Sasuke:1132
omniORB: (3) Client opened connection to giop:tcp:127.0.0.1:1132
omniORB: (3) sendChunk: to giop:tcp:127.0.0.1:1132 58 bytes
omniORB: (3)
4749 4f50 0102 0103 2e00 0000 0200 0000 GIOP............
0000 3220 2200 0000 5374 616e 6461 7264 ..2 "...Standard
496d 706c 4e61 6d65 2f62 6964 6972 2f00 ImplName/bidir/.
141b 3f15 1a19 2401 2005                ..?...$. .
omniORB: (3) inputMessage: from giop:tcp:127.0.0.1:1132 20 bytes
omniORB: (3)
4749 4f50 0102 0004 0000 0008 0000 0002 GIOP............
0000 0001                               ....
omniORB: (3) Invoke 'getMessage' on remote:
key<StandardImplName.bidir............>
omniORB: (3)  send codeset service context: (ISO-8859-1,UTF-16)
omniORB: (3) sendChunk: to giop:tcp:127.0.0.1:1132 141 bytes
omniORB: (3)
4749 4f50 0102 0100 8100 0000 0400 0000 GIOP............
0300 0000 0000 0000 2200 0000 5374 616e ........"...Stan
6461 7264 496d 706c 4e61 6d65 2f62 6964 dardImplName/bid
6972 2f00 141b 3f15 1a19 2401 2005 3730 ir/...?...$. .70
0b00 0000 6765 744d 6573 7361 6765 0036 ....getMessage.6
0100 0000 0100 0000 0c00 0000 0100 0000 ................
0100 0100 0901 0100 2100 0000 4d65 7373 ........!...Mess
6167 6520 6672 6f6d 2074 6865 2073 6572 age from the ser
7665 7220 3d20 6865 6c6c 6f21 00        ver = hello!.
omniORB: (3) inputMessage: from giop:tcp:127.0.0.1:1132 24 bytes
omniORB: (3)
4749 4f50 0102 0001 0000 000c 0000 0004 GIOP............
0000 0000 0000 0000                     ........

omniORB: (3) throw MARSHAL from giopImpl12.cc:1079  
(YES,MARSHAL_PassEndOfMessage)
omniORB: (3) Unexpected error encountered in talking to the server
giop:tcp:127.0.0.1:1132 . The connection is closed immediately.

omniORB: (3) Client connection refcount = 0
omniORB: (3) Client close connection to giop:tcp:127.0.0.1:1132
omniORB: (3) omniRemoteIdentity deleted.
omniORB: (3) ObjRef(IDL:LAN_Rover/UserModule:1.0) -- deleted.
...
..
.
****************************************************************
FROM JACORB
****************************************************************
[26-08-2005 22:51:15:826] jacorb.orb.iiop:INFO: Opened new server-side TCP/IP
transport to 127.0.0.1:3687
[26-08-2005 22:51:15:866] jacorb.org.giop:DEBUG: ServerRequest: reply to
_non_existent
[26-08-2005 22:51:15:881] jacorb.giop.server.l:DEBUG: Received CodeSetContext.
Using ISO-8859-1 as TCS and UTF-16 as TCSW
Message from the server = hello!
[26-08-2005 22:51:15:883] jacorb.org.giop:DEBUG: ServerRequest: reply to
getMessage
[26-08-2005 22:51:15:945] jacorb.orb.iiop:DEBUG: Transport to 127.0.0.1:3687:
stream closed on read  < 0
[26-08-2005 22:51:15:945] jacorb.orb.iiop:INFO: Closed server-side transport to
127.0.0.1:3687
[26-08-2005 22:51:15:953] jacorb.orb.policies:DEBUG: get_policy_overrides
returns 0 policies
org.omg.CORBA.MARSHAL: Server-side Exception: null  vmcid: 0x41540000  minor
code: 10  completed: Yes
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
...
..
.
*****************************************************************


Any help would be greatly appreciated. Thank you in advance.

******************************
Aaron G. Bernardino
Mobile Robotics Laboratory
University of the Philippines
******************************







More information about the omniORB-list mailing list