Steve Donovan
2007-04-05 17:15:24 UTC
Hi guys,
My client application is happily working with a Java ORB server (1.6)
on Windows. However, it gets into difficulty if the server is running
on
Linux (FC5).
The expected response from the name service is so:
4749 4f50 0100 0100 5800 0000 0000 0000 GIOP....X.......
0200 0000 0100 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6500 0600 0000 5f69 735f Service....._is_
6100 0000 0000 0000 2800 0000 4944 4c3a a.......(...IDL:
6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin
672f 4e61 6d69 6e67 436f 6e74 6578 743a g/NamingContext:
312e 3000 1.0.
omniORB: inputMessage: from giop:tcp:146.64.150.69:1050 480 bytes
omniORB:
4749 4f50 0100 0001 0000 01d4 0000 0002 GIOP............
4e45 4f00 0000 0002 0014 4f00 0000 0006 NEO.......O.....
0000 00cc 0000 0000 0000 0028 4944 4c3a ...........(IDL:
6f6d 672e 6f72 672f 5365 6e64 696e 6743 omg.org/SendingC
6f6e 7465 7874 2f43 6f64 6542 6173 653a ontext/CodeBase:
312e 3000 0000 0001 0000 0000 0000 0090 1.0.............
0001 0200 0000 000e 3134 362e 3634 2e31 ........146.64.1
3530 2e36 3900 0419 0000 0019 afab cb00 50.69...........
0000 0002 0000 03e8 0000 0008 0000 0002 ................
0000 0000 1400 0000 0000 0003 0000 0001 ................
0000 0020 0000 0000 0001 0001 0000 0002 ... ............
0501 0001 0001 0020 0001 0109 0000 0001 ....... ........
0001 0100 0000 0026 0000 0002 0002 0000 .......&........
0000 0003 0000 0018 0000 0000 0000 000e ................
3134 362e 3634 2e31 3530 2e36 3900 041a 146.64.150.69...
0000 0002 0000 0003 0000 0028 4944 4c3a ...........(IDL:
6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin
672f 4e61 6d69 6e67 436f 6e74 6578 743a g/NamingContext:
312e 3000 0000 0001 0000 0000 0000 00b0 1.0.............
0001 0200 0000 000e 3134 362e 3634 2e31 ........146.64.1
3530 2e36 3900 0419 0000 003c afab cb00 50.69......<....
0000 0022 0000 03e8 0000 0001 0000 0000 ..."............
0000 0002 0000 0008 526f 6f74 504f 4100 ........RootPOA.
whereas when it speaks to the Java server on linux the response is
quite different!
omniORB: inputMessage: from giop:tcp:146.64.150.109:1050 464 bytes
omniORB:
4749 4f50 0100 0001 0000 01c4 0000 0002 GIOP............
0000 0006 0000 00c4 0000 0000 0000 0028 ...............(
4944 4c3a 6f6d 672e 6f72 672f 5365 6e64 IDL:omg.org/Send
696e 6743 6f6e 7465 7874 2f43 6f64 6542 ingContext/CodeB
6173 653a 312e 3000 0000 0001 0000 0000 ase:1.0.........
0000 0088 0001 0200 0000 000a 3132 372e ............127.
302e 302e 3100 0419 0000 0019 afab cb00 0.0.1...........
0000 0002 c115 0f70 0000 0008 0000 0002 .......p........
0000 0000 1400 0000 0000 0003 0000 0001 ................
0000 0020 0000 0000 0001 0001 0000 0002 ... ............
0501 0001 0001 0020 0001 0109 0000 0001 ....... ........
0001 0100 0000 0026 0000 0002 0002 0000 .......&........
0000 0003 0000 0014 0000 0000 0000 000a ................
3132 372e 302e 302e 3100 041a 4e45 4f00 127.0.0.1...NEO.
0000 0002 0014 4f00 0000 0002 0000 0003 ......O.........
0000 0028 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 0000 0001 Context:1.0.....
0000 0000 0000 00a8 0001 0200 0000 000a ................
3132 372e 302e 302e 3100 0419 0000 003c 127.0.0.1......<
afab cb00 0000 0022 0000 03e8 0000 0001 ......."........
0000 0000 0000 0002 0000 0008 526f 6f74 ............Root
504f 4100 0000 000c 4e61 6d65 5365 7276 POA.....NameServ
6963 6500 0000 0003 4e43 3014 0000 0003 ice.....NC0.....
That 'localhost' address causes great confusion, and omniORB will hang
moreorless forever, trying to speak to itself.
Any clues? I'm running orbd on the server side with both
ORBInitialPort and ORBInitialHost set correctly.
thanks,
steve d
PS. Curiously enough, a _Java_ client had a very similar problem...
--
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
***@csir.co.za.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
My client application is happily working with a Java ORB server (1.6)
on Windows. However, it gets into difficulty if the server is running
on
Linux (FC5).
The expected response from the name service is so:
4749 4f50 0100 0100 5800 0000 0000 0000 GIOP....X.......
0200 0000 0100 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6500 0600 0000 5f69 735f Service....._is_
6100 0000 0000 0000 2800 0000 4944 4c3a a.......(...IDL:
6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin
672f 4e61 6d69 6e67 436f 6e74 6578 743a g/NamingContext:
312e 3000 1.0.
omniORB: inputMessage: from giop:tcp:146.64.150.69:1050 480 bytes
omniORB:
4749 4f50 0100 0001 0000 01d4 0000 0002 GIOP............
4e45 4f00 0000 0002 0014 4f00 0000 0006 NEO.......O.....
0000 00cc 0000 0000 0000 0028 4944 4c3a ...........(IDL:
6f6d 672e 6f72 672f 5365 6e64 696e 6743 omg.org/SendingC
6f6e 7465 7874 2f43 6f64 6542 6173 653a ontext/CodeBase:
312e 3000 0000 0001 0000 0000 0000 0090 1.0.............
0001 0200 0000 000e 3134 362e 3634 2e31 ........146.64.1
3530 2e36 3900 0419 0000 0019 afab cb00 50.69...........
0000 0002 0000 03e8 0000 0008 0000 0002 ................
0000 0000 1400 0000 0000 0003 0000 0001 ................
0000 0020 0000 0000 0001 0001 0000 0002 ... ............
0501 0001 0001 0020 0001 0109 0000 0001 ....... ........
0001 0100 0000 0026 0000 0002 0002 0000 .......&........
0000 0003 0000 0018 0000 0000 0000 000e ................
3134 362e 3634 2e31 3530 2e36 3900 041a 146.64.150.69...
0000 0002 0000 0003 0000 0028 4944 4c3a ...........(IDL:
6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin
672f 4e61 6d69 6e67 436f 6e74 6578 743a g/NamingContext:
312e 3000 0000 0001 0000 0000 0000 00b0 1.0.............
0001 0200 0000 000e 3134 362e 3634 2e31 ........146.64.1
3530 2e36 3900 0419 0000 003c afab cb00 50.69......<....
0000 0022 0000 03e8 0000 0001 0000 0000 ..."............
0000 0002 0000 0008 526f 6f74 504f 4100 ........RootPOA.
whereas when it speaks to the Java server on linux the response is
quite different!
omniORB: inputMessage: from giop:tcp:146.64.150.109:1050 464 bytes
omniORB:
4749 4f50 0100 0001 0000 01c4 0000 0002 GIOP............
0000 0006 0000 00c4 0000 0000 0000 0028 ...............(
4944 4c3a 6f6d 672e 6f72 672f 5365 6e64 IDL:omg.org/Send
696e 6743 6f6e 7465 7874 2f43 6f64 6542 ingContext/CodeB
6173 653a 312e 3000 0000 0001 0000 0000 ase:1.0.........
0000 0088 0001 0200 0000 000a 3132 372e ............127.
302e 302e 3100 0419 0000 0019 afab cb00 0.0.1...........
0000 0002 c115 0f70 0000 0008 0000 0002 .......p........
0000 0000 1400 0000 0000 0003 0000 0001 ................
0000 0020 0000 0000 0001 0001 0000 0002 ... ............
0501 0001 0001 0020 0001 0109 0000 0001 ....... ........
0001 0100 0000 0026 0000 0002 0002 0000 .......&........
0000 0003 0000 0014 0000 0000 0000 000a ................
3132 372e 302e 302e 3100 041a 4e45 4f00 127.0.0.1...NEO.
0000 0002 0014 4f00 0000 0002 0000 0003 ......O.........
0000 0028 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 0000 0001 Context:1.0.....
0000 0000 0000 00a8 0001 0200 0000 000a ................
3132 372e 302e 302e 3100 0419 0000 003c 127.0.0.1......<
afab cb00 0000 0022 0000 03e8 0000 0001 ......."........
0000 0000 0000 0002 0000 0008 526f 6f74 ............Root
504f 4100 0000 000c 4e61 6d65 5365 7276 POA.....NameServ
6963 6500 0000 0003 4e43 3014 0000 0003 ice.....NC0.....
That 'localhost' address causes great confusion, and omniORB will hang
moreorless forever, trying to speak to itself.
Any clues? I'm running orbd on the server side with both
ORBInitialPort and ORBInitialHost set correctly.
thanks,
steve d
PS. Curiously enough, a _Java_ client had a very similar problem...
--
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
***@csir.co.za.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.