<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hello,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I have a little problem here, I have 2 apps : one 'server'
using omniORB, named Claire, et a second, a 'client' named PO.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Claire is started first, register itself to the name service
(I am using the java name service, orbd) and waits.<o:p></o:p></p>
<p class=MsoNormal>PO is started then, register itself to the name service, search
for Claire in the name service, and do some methods calls.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>At this point, everything is ok.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Then PO call a method named 'abonnement(in string name)',
where name represents the name used in the name service.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Claire use the name parameter for searching PO in the name
service, and retreive a reference to it.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The problem, is that when I call a PO method from this
reference, it fails.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Here is the omniorb's log from Claire :<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>omniORB: (4)
2010-10-20 10:44:36.756051: <br>
4749 4f50 0102 0000 0000 006d 0000 0007 GIOP.......m....<br>
0300 0000 0000 0002 0000 000e fe4c beab .............L..<br>
c642 5700 0000 0000 0000 0001 0000 000b .BW.............<br>
6162 6f6e 6e65 6d65 6e74 0078 0000 0003 abonnement.x....<br>
0000 0011 0000 0002 0002 0011 0000 0001 ................<br>
0000 000c 0000 0000 0001 0001 0001 0109 ................<br>
4e45 4f00 0000 0002 0014 4f00 0000 0002 NEO.......O.....<br>
0000 0005 706c 6f70 00 ....plop.<br>
omniORB: (4) 2010-10-20 10:44:36.756088: Receive codeset service context and
set TCS to (ISO-8859-1,UTF-16)<br>
omniORB: (4) 2010-10-20 10:44:36.756106: Dispatching remote call 'abonnement'
to: root<0> (active)<br>
omniORB: (4) 2010-10-20 10:44:36.756191: Initial reference `NameService'
resolved from configuration file.<br>
omniORB: (4) 2010-10-20 10:44:36.756217: Invoke '_is_a' on remote:
key<............................RootPOA.....NameService.....NC0.><br>
omniORB: (4) 2010-10-20 10:44:36.756249: sendChunk: to
giop:tcp:192.9.10.213:1049 148 bytes<br>
omniORB: (4) 2010-10-20 10:44:36.756267: <br>
4749 4f50 0102 0000 0000 0088 0000 0006 GIOP............<br>
0300 0000 0000 2034 0000 003c afab cb00 ...... 4...<....<br>
0000 0022 0000 03e8 0000 0001 0000 0000 ..."............<br>
0000 0002 0000 0008 526f 6f74 504f 4100 ........RootPOA.<br>
0000 000c 4e61 6d65 5365 7276 6963 6500 ....NameService.<br>
0000 0003 4e43 3014 0000 0006 5f69 735f ....NC0....._is_<br>
6100 0020 0000 0000 0000 0028 4944 4c3a a.. .......(IDL:<br>
6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin<br>
672f 4e61 6d69 6e67 436f 6e74 6578 743a g/NamingContext:<br>
312e 3000 1.0.<br>
omniORB: (4) 2010-10-20 10:44:36.757341: inputMessage: from
giop:tcp:192.9.10.213:1049 41 bytes<br>
omniORB: (4) 2010-10-20 10:44:36.757361: <br>
4749 4f50 0102 0001 0000 001d 0000 0006 GIOP............<br>
0000 0000 0000 0001 4e45 4f00 0000 0002 ........NEO.....<br>
0014 00cc 0000 0006 01 .........<br>
omniORB: (4) 2010-10-20 10:44:36.757393: Return '_is_a' on remote:
key<............................RootPOA.....NameService.....NC0.><br>
omniORB: (4) 2010-10-20 10:44:36.757420: Creating ref to remote:
key<............................RootPOA.....NameService.....NC0.><br>
target id : IDL:omg.org/CosNaming/NamingContext:1.0<br>
most derived id: <br>
omniORB: (4) 2010-10-20 10:44:36.757464: Invoke 'resolve' on remote:
key<............................RootPOA.....NameService.....NC0.><br>
omniORB: (4) 2010-10-20 10:44:36.757489: sendChunk: to
giop:tcp:192.9.10.213:1049 125 bytes<br>
omniORB: (4) 2010-10-20 10:44:36.757505: <br>
4749 4f50 0102 0000 0000 0071 0000 0008 GIOP.......q....<br>
0300 0000 0000 2034 0000 003c afab cb00 ...... 4...<....<br>
0000 0022 0000 03e8 0000 0001 0000 0000 ..."............<br>
0000 0002 0000 0008 526f 6f74 504f 4100 ........RootPOA.<br>
0000 000c 4e61 6d65 5365 7276 6963 6500 ....NameService.<br>
0000 0003 4e43 3014 0000 0008 7265 736f ....NC0.....reso<br>
6c76 6500 0000 0000 0000 0001 0000 0005 lve.............<br>
706c 6f70 0072 672f 0000 0001 00 plop.rg/.....<br>
omniORB: (4) 2010-10-20 10:44:36.758805: inputMessage: from
giop:tcp:192.9.10.213:1049 210 bytes<br>
omniORB: (4) 2010-10-20 10:44:36.758821: <br>
4749 4f50 0102 0001 0000 00c6 0000 0008 GIOP............<br>
0000 0000 0000 0001 4e45 4f00 0000 0002 ........NEO.....<br>
0014 00cc 0000 0006 0000 0013 4944 4c3a ............IDL:<br>
434c 412f 436c 6965 6e74 3a31 2e30 002e CLA/Client:1.0..<br>
0000 0001 0000 0000 0000 0086 0001 0200 ................<br>
0000 000d 3139 312e 302e 3234 382e 3533 ....191.0.248.53<br>
0000 130f 0000 0031 afab cb00 0000 0020 .......1....... <br>
c8d0 a394 0000 0001 0000 0000 0000 0001 ................<br>
0000 0008 526f 6f74 504f 4100 0000 0008 ....RootPOA.....<br>
0000 0001 0000 0000 1400 0000 0000 0002 ................<br>
0000 0001 0000 0020 0000 0000 0001 0001 ....... ........<br>
0000 0002 0501 0001 0001 0020 0001 0109 ........... ....<br>
0000 0001 0001 0100 0000 0026 0000 0002 ...........&....<br>
0002 ..<br>
omniORB: (4) 2010-10-20 10:44:36.758985: Creating ref to remote:
key<............................RootPOA..............><br>
target id : IDL:omg.org/CORBA/Object:1.0<br>
most derived id: IDL:CLA/Client:1.0<br>
omniORB: (4) 2010-10-20 10:44:36.759010: Return 'resolve' on remote:
key<............................RootPOA.....NameService.....NC0.><br>
omniORB: (4) 2010-10-20 10:44:36.759063: LocateRequest to remote:
key<............................RootPOA..............><br>
omniORB: (4) 2010-10-20 10:44:36.759172: Client attempt to connect to
giop:tcp:191.0.248.53:4879<br>
omniORB: (4) 2010-10-20 10:44:36.759269: Failed to connect: 191.0.248.53<br>
omniORB: (4) 2010-10-20 10:44:36.759329: Switch rope to use address
giop:tcp:191.0.248.53:4879<br>
omniORB: (4) 2010-10-20 10:44:36.759355: Unable to open new connection:
giop:tcp:191.0.248.53:4879<br>
omniORB: (4) 2010-10-20 10:44:36.759371: throw giopStream::CommFailure from
giopStream.cc:1152(0,NO,TRANSIENT_ConnectFailed)<br>
omniORB: (4) 2010-10-20 10:44:36.759612: throw TRANSIENT from
omniObjRef.cc:1137 (NO,TRANSIENT_ConnectFailed)<br>
omniORB: (4) 2010-10-20 10:44:36.759812: omniRemoteIdentity deleted.<br>
omniORB: (4) 2010-10-20 10:44:36.759830: ObjRef(IDL:CLA/Client:1.0) -- deleted.<br>
omniORB: (4) 2010-10-20 10:44:36.759895: ObjRef() -- deleted.<br>
omniORB: (4) 2010-10-20 10:44:36.759938: sendChunk: to
giop:tcp:191.0.248.53:4884 28 bytes<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I tried to telnet the ip/port of the PO app, and it works, I
don't understand why omniORB fails.<o:p></o:p></p>
<p class=MsoNormal>I tried to developp a test programme of Claire in java, implementing
the same idl, everything works well.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Can the problem be linked to the fact that the Claire app
runs on a server that have more that one interface ? :<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>omniORB: (0) 2010-10-20
11:18:06.044802: My addresses are: <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>omniORB: 192.9.12.16<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>omniORB:
192.9.10.213<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>omniORB: 127.0.0.1<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>and<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>omniORB: endPoint
= giop:tcp:192.9.10.213:<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Note : there is a router between the network 192.9.10.213
and 191.0.248.53, but the problem is still here if I tried from the same
network.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks for your help.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-- <o:p></o:p></p>
<p class=MsoNormal>Nicolas V.<o:p></o:p></p>
</div>
</body>
</html>