<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Dick,</p>
    <p><br>
    </p>
    <p>I'm out of ideas.</p>
    <p><br>
    </p>
    <p>Please, could you turn the repository logging to TRACE, and
      repeat the test?</p>
    <p>And then send me the zipped log - along with your config.xml
      file?<br>
    </p>
    <p><br>
    </p>
    <p>Best regards,</p>
    <p>Pavol<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 01.07.2016 10:45, Dick Muller wrote:<br>
    </div>
    <blockquote
cite="mid:BY1PR0601MB1192D1DF8C06EBE90B2C3C9296250@BY1PR0601MB1192.namprd06.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Hi Pavol,</p>
        <p><br>
        </p>
        <p>I deleted the two nodes, recreated the Quartz tables and only
          started the node that was having a problem.</p>
        <p>Also the same thing.</p>
        <p><br>
        </p>
        <p>Strangest thing is that in the log it states that it notices
          an existing node with that name and a specific OID, but can't
          find it.</p>
        <p>And then stops the Task manager.</p>
        <p><br>
        </p>
        <p>This is the peace of the log from the latest attempt:</p>
        <p><br>
        </p>
        <p><span>2016-07-01 08:41:30,481 [] [ClusterManagerThread] ERROR
(com.evolveum.midpoint.task.quartzimpl.cluster.NodeRegistrar): The
            record of this node cannot be read (OID
            42745a2a-6010-4716-9718-b0de1c5aa436 not found), but another
            node record with the name 'NA1-IDM-PRD01' exists. It seems
            that in this cluster there are two or more nodes with the
            same name 'NA1-IDM-PRD01'. Stopping the scheduler to
            minimize the damage., reason: Object of type 'NodeType' with
            oid '42745a2a-6010-4716-9718-b0de1c5aa436' was not found.
            (class
            com.evolveum.midpoint.util.exception.ObjectNotFoundException)</span><br>
        </p>
        <p><span><br>
          </span></p>
        <p><span>Thanks,</span></p>
        <p><span><br>
          </span></p>
        <p><span>Dick</span></p>
      </div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          face="Calibri, sans-serif" color="#000000"><b>Van:</b>
          midPoint <a class="moz-txt-link-rfc2396E" href="mailto:midpoint-bounces@lists.evolveum.com"><midpoint-bounces@lists.evolveum.com></a> namens
          Pavol Mederly <a class="moz-txt-link-rfc2396E" href="mailto:mederly@evolveum.com"><mederly@evolveum.com></a><br>
          <b>Verzonden:</b> vrijdag 1 juli 2016 10:26:39<br>
          <b>Aan:</b> <a class="moz-txt-link-abbreviated" href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
          <b>Onderwerp:</b> Re: [midPoint] Duplicate node in the Cluster</font>
        <div> </div>
      </div>
      <div>
        <p>Hello Dick,</p>
        <p><br>
        </p>
        <p>this is really strange. If - after your cleanup procedure -
          you start only that one node (NA1-IDM-PRD01), does the error
          still occur?</p>
        <p><br>
        </p>
        <p>Pavol<br>
        </p>
        <br>
        <div class="moz-cite-prefix">On 01.07.2016 10:15, Dick Muller
          wrote:<br>
        </div>
        <blockquote
cite="mid:BY1PR0601MB11921B8DBB30CA0BD191181996250@BY1PR0601MB1192.namprd06.prod.outlook.com"
          type="cite">
          <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
          <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
            <p><span>Hi,</span></p>
            <p><span><br>
              </span></p>
            <p><span>I run two MidPoint servers in a cluster and that
                worked fine, but since the last two weeks the first
                server is complianing that there is a duplicate nodeId.</span></p>
            <p><span>That is strange because the server is not renewed.
                I deleted the nodes in the Task manager, rebuild the
                quartz database in MySQL and restarted the tomcat
                instances.</span></p>
            <p><span>But still no luck, the same error comes back.</span></p>
            <p><span><br>
              </span></p>
            <p><span>In the idm.log the following error is raised:</span></p>
            <p><span><br>
              </span></p>
            <p><span>2016-07-01 08:07:05,974 [] [ClusterManagerThread]
                ERROR
                (com.evolveum.midpoint.task.quartzimpl.cluster.NodeRegistrar):
                The record of this node cannot be read (OID
                9eca6710-ec8f-4380-a3e4-62de4c97deb4 not found), but
                another node record with the name 'NA1-IDM-PRD01'
                exists. It seems that in this cluster there are two or
                more nodes with the same name 'NA1-IDM-PRD01'. Stopping
                the scheduler to minimize the damage., reason: Object of
                type 'NodeType' with oid
                '9eca6710-ec8f-4380-a3e4-62de4c97deb4' was not found.
                (class
                com.evolveum.midpoint.util.exception.ObjectNotFoundException)</span><br>
            </p>
            <p><br>
            </p>
            <p>Regards,</p>
            <div id="Signature">
              <div id="divtagdefaultwrapper" style="font-size:12pt;
                color:#000000; background-color:#FFFFFF;
                font-family:Calibri,Arial,Helvetica,sans-serif">
                <div style="margin:0"><font face="Calibri,sans-serif"
                    size="2"><span style="font-size:10.5pt"></span></font><font
                    face="Calibri,sans-serif" color="#1d6084" size="2"><span
                      style="font-size:10.5pt"></span></font></div>
                <div style="margin:0in 0in 0pt"><span
                    style="font-size:10.5pt; color:black">
                    <hr style="width:187.5pt" align="left" size="1"
                      width="313">
                  </span></div>
                <p style="margin:0in 0in 0pt"><b><span
                      style="font-size:9.0pt;
                      font-family:"Helvetica",sans-serif;
                      color:#1D6084">Dick Muller</span></b></p>
                <p style="background:white; margin:0in 0in 0pt"><span
                    style="font-size:10.0pt;
                    font-family:"Helvetica",sans-serif;
                    color:#646464">Systems Engineer</span></p>
                <p style="background:white; margin:0in 0in 12pt"><span
                    style="font-size:8.5pt;
                    font-family:"Helvetica",sans-serif;
                    color:#646464">Delftechpark 37i<br>
                    2628 XJ Delft<b><br>
                      d</b></span><span style="font-size:8.5pt;
                    font-family:"Helvetica",sans-serif;
                    color:#646464">: +31
                    <span style="">88 2682586</span> <br>
                    <b>m:</b> +31 6 46477690</span><font
                    face="Calibri,sans-serif" size="2"><span
                      style="font-size:11pt"><font
                        face="Helvetica,sans-serif" color="#646464"
                        size="2"><span style="font-size:8.5pt">
                        </span></font><font face="Helvetica,sans-serif"
                        color="#646464" size="2"><span
                          style="font-size:8.5pt"><br>
                        </span></font></span></font></p>
                <div style="margin:0"><font face="Calibri,sans-serif"
                    size="2"><span style="font-size:11pt"><a
                        moz-do-not-send="true"
                        href="http://www.tahzoo.com/" target="_blank"
                        id="LPNoLP"><font color="#954f72"><img
                            moz-do-not-send="true" id="_x0000_i1025"
                            alt="http://client.tahzoo.com/tahzoo/logo_blue_100w.png"
                            style="-webkit-user-select: none;"
                            src="http://client.tahzoo.com/tahzoo/logo_blue_100w.png"
                            height="48" border="0" width="125"></font></a></span></font></div>
                <br>
              </div>
            </div>
          </div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
midPoint mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
        </blockquote>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>