<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi,</p>
    <p>Thanks for using the PRF form. <br>
    </p>
    <p>Maybe you can enable -ORBDebugLevel 10 and see if the log tells
      you more where it fails? Could you start your server in the
      debugger and try to find where it fails, that would help a lot. <br>
    </p>
    <p>Feel free to open a pull request at
      <a class="moz-txt-link-freetext" href="https://github.com/DOCGroup/ACE_TAO">https://github.com/DOCGroup/ACE_TAO</a> when you have found a possible
      fix. An other option is to hire someone to analyze this further
      and fix it for you, see
      <a class="moz-txt-link-freetext" href="http://www.dre.vanderbilt.edu/~schmidt/commercial-support.html">http://www.dre.vanderbilt.edu/~schmidt/commercial-support.html</a> for
      all companies delivering support, including Remedy IT, the company
      I work for.</p>
    <p>Best regards,<br>
    </p>
    <br>
    <pre class="moz-signature" cols="72">Johnny Willemsen
Remedy IT
Postbus 81 | 6930 AB Westervoort | The Netherlands
<a class="moz-txt-link-freetext" href="http://www.remedy.nl">http://www.remedy.nl</a>
 </pre>
    <div class="moz-cite-prefix">On 10/22/2016 08:19 AM, Winston JENKS
      wrote:<br>
    </div>
    <blockquote
cite="mid:96222803F7FF4944A01F78A6CC037C9C43EB5881@DC03.CapeSoftware.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.EmailStyle20
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:933898688;
        mso-list-type:hybrid;
        mso-list-template-ids:-1368125082 596771086 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-number-format:alpha-upper;
        mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            TAO VERSION: 2.3.3<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            ACE VERSION: 6.3.3<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            HOST MACHINE and OPERATING SYSTEM:  Windows 7 SP1, Windows
            Server 2012 R2<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">       
            If on Windows based OS's, which version of WINSOCK do you<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">       
            use?:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            TARGET MACHINE and OPERATING SYSTEM, if different from HOST:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            COMPILER NAME AND VERSION (AND PATCHLEVEL):<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            THE $ACE_ROOT/ace/config.h FILE [if you use a link to a
            platform-<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            specific file, simply state which one]:
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">         #define
            ACE_HAS_MFC 0<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">        
            #include “ace/config-win32.h”<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE
            [if you<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            use a link to a platform-specific file, simply state which
            one<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            (unless this isn't used in this case, e.g., with Microsoft
            Visual<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            C++)]:  Tested with VS 2012  ( and version VC6 with ACE
            v5.4.1 )<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            CONTENTS OF
            $ACE_ROOT/bin/MakeProjectCreator/config/default.features<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            (used by MPC when you generate your own makefiles):
            <empty><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            AREA/CLASS/EXAMPLE AFFECTED:<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:.5in"><span
            style="font-size:10.0pt;font-family:"Courier New"">tao_cosnaming,
            and our tao client<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            DOES THE PROBLEM AFFECT:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">       
            COMPILATION? NO<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">       
            LINKING? NO<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">       
            EXECUTION? YES<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            SYNOPSIS:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">On
            a machine with more than 63 (possibly 62) IP Addresses (not
            sure if per-interface or globally) my TAO client and
            tao_cosnaming.exe crash.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            DESCRIPTION:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">On
            machines with quite a few IP Addresses (in this case static
            IPs all assigned to the same interface), tao_cosnaming.exe
            will throw an exception and quit at startup.  While trying
            to narrow down the cause, our tao test client (normally very
            reliable) will throw an INTERNAL exception when calling
            resolve_initial_references(“RootPOA”).  TAO servers can
            avoid this issue by specifying a particular IP Address with
            –ORBListenEndpoints.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">The
            NamingViewer.exe runs correctly even when there are > 63
            IP addresses present in the system.  The NamingViewer does
            call resolve_initial_references(“NameService”), but does NOT
            appear to call resolve_initial_references(“RootPOA”).<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            REPEAT BY:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">In
            an elevated command prompt, create a number of IP Addresses
            on an interface.  First line below is explanation—replace
            items in braces. Second line is an example of how to create
            111 addresses from 192.168.30.10->120.  Note that if you
            have your {InterfaceName} set to DHCP, the first time you
            run this, you will reset the adapter to the static IP
            address you define.  So either start with a static IP
            address already set, or run netsh first with an IP address
            that is on your network.  I used an IP addresses
            (192.168.30/24) outside our normal subnet to avoid
            collisions.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   C:>
            REM for /L %A IN ({start},1,{end}) DO netsh interface ip add
            address “{InterfaceName}” 192.168.30.%A {mask}<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">  
            C:> for /L %A IN (10,1,120) DO netsh interface ip add
            address “Local Area Connection” 192.168.30.%A 255.255.255.0<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">(Also
            note, on Windows 7, the mouse may be jerky initially after
            this command, but it settled down for me after a while.
            Windows Server 2012 had no discernable discomfort with
            this.)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">Then
            run tao_cosnaming.exe.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">Error
            including “(endpoint initialization failure in Acceptor
            Registry; unspecified errno)” is displayed.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">I
            tested this with TAO 6.3.3 on Windows 7.  We have older
            version of TAO (1.4.1) also running on Windows 7 and Windows
            Server 2012 R2 where naming_server and the call to
            resolve_initial_references(“RootPOA”) also suffers from same
            behavior.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">   
            SAMPLE FIX/WORKAROUND:<o:p></o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span
            style="font-size:10.0pt;font-family:"Courier New""><span
              style="mso-list:Ignore">A)<span style="font:7.0pt
                "Times New Roman""> 
              </span></span></span><!--[endif]--><span
            style="font-size:10.0pt;font-family:"Courier New"">Reduce
            the number of IP addresses in the system (might be a
            per-interface limit).<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:.5in"><span
            style="font-size:10.0pt;font-family:"Courier New"">C:>
            for /L %A IN (70,1,120) DO netsh interface ip delete address
            “Local Area Connection” 192.168.30.%A<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:.5in"><span
            style="font-size:10.0pt;font-family:"Courier New"">This
            leaves only addresses from 192.168.30.10-69 on your system. 
            Now things work again.<o:p></o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span
            style="font-size:10.0pt;font-family:"Courier New""><span
              style="mso-list:Ignore">B)<span style="font:7.0pt
                "Times New Roman""> 
              </span></span></span><!--[endif]--><span
            style="font-size:10.0pt;font-family:"Courier New"">For
            TAO servers AND TAO CLIENTS THAT CALL
            resolve_initial_references(“RootPOA”), limit the addresses
            they listen on with –ORBListenEndpoints
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New"">That
            very last part above is the key workaround. A client that
            calls resolve_initial_references(“RootPOA”) will receive an
            INTERNAL exception unless the number of interfaces to listen
            on was restricted by passing something like
            –ORBListenEndpoints iiop://192.168.3.239, which limits
            whatever happens in resolve_initial_references (“RootPOA”)
            to fewer IP addresses and prevents the INTERNAL exception.<o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
tao-bugs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tao-bugs@list.isis.vanderbilt.edu">tao-bugs@list.isis.vanderbilt.edu</a>
<a class="moz-txt-link-freetext" href="http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/tao-bugs">http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/tao-bugs</a></pre>
    </blockquote>
    <br>
  </body>
</html>