On Thu, Sep 8, 2011 at 4:18 PM, Yuji Shinozaki <span dir="ltr"><<a href="mailto:ys2n@virginia.edu">ys2n@virginia.edu</a>></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>
<resolver:DataConnector<br>
id="myLDAP"<br>
xsi:type="LDAPDirectory" xmlns="urn:mace:shibboleth:2.0:resolver:dc"<br>
ldapURL="ldap://blah.blah.blah"<br>
baseDN="o=blah,c=US"<br>
principal="cn=blah,ou=blabbityblah,o=blahblah,c=US"<br>
principalCredential="blahblah" ><br>
<FilterTemplate><br>
<![CDATA[<br>
(uid=$requestContext.principalName)<br>
]]><br>
</FilterTemplate><br>
<br>
<ReturnAttributes>blah1 blah2 blah3</ReturnAttributes><br>
<br>
<LDAPProperty name="edu.vt.middleware.ldap.operationRetry" value="3" /><br>
<LDAPProperty name="edu.vt.middleware.ldap.operationRetryWait" value="300" /><br>
<br>
</resolver:DataConnector><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>