On Thu, Sep 8, 2011 at 4:18 PM, Yuji Shinozaki <span dir="ltr">&lt;<a href="mailto:ys2n@virginia.edu">ys2n@virginia.edu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
So to be explicit about how these properties are specified in the configs, would the following configure the vt-ldap connector to retry failed connections three times with a wait of 300 ms between retries?<br>
<br>
    &lt;resolver:DataConnector<br>
        id=&quot;myLDAP&quot;<br>
        xsi:type=&quot;LDAPDirectory&quot; xmlns=&quot;urn:mace:shibboleth:2.0:resolver:dc&quot;<br>
        ldapURL=&quot;ldap://blah.blah.blah&quot;<br>
        baseDN=&quot;o=blah,c=US&quot;<br>
        principal=&quot;cn=blah,ou=blabbityblah,o=blahblah,c=US&quot;<br>
        principalCredential=&quot;blahblah&quot; &gt;<br>
        &lt;FilterTemplate&gt;<br>
            &lt;![CDATA[<br>
                (uid=$requestContext.principalName)<br>
            ]]&gt;<br>
        &lt;/FilterTemplate&gt;<br>
<br>
        &lt;ReturnAttributes&gt;blah1 blah2 blah3&lt;/ReturnAttributes&gt;<br>
<br>
        &lt;LDAPProperty name=&quot;edu.vt.middleware.ldap.operationRetry&quot; value=&quot;3&quot; /&gt;<br>
        &lt;LDAPProperty name=&quot;edu.vt.middleware.ldap.operationRetryWait&quot; value=&quot;300&quot; /&gt;<br>
<br>
    &lt;/resolver:DataConnector&gt;<br><br></blockquote><div> </div><div>Correct. Note that by default the only exceptions that trigger retries are <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">CommunicationException and ServiceUnavailableException.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">--Daniel Fisher</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div></div>