<div dir="ltr"><div class="gmail_default" style="font-family:garamond,serif">Hello Shib Users,</div><div class="gmail_default" style="font-family:garamond,serif">I have IdP 3.4 installed and I just tried to uncomment the ldap connection pool settings in the ldap.properties file.</div><div class="gmail_default" style="font-family:garamond,serif"><br></div><div class="gmail_default" style="font-family:garamond,serif">Just uncommenting those and restarting the service throws the following error. Not sure why the IdP takes the value 300 set for prune period in the file as 0 </div><div class="gmail_default" style="font-family:garamond,serif"><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div class="gmail_default" style="font-family:garamond,serif"><span style="color:rgb(0,0,0);white-space:pre-wrap">service: shibboleth.</span><span style="color:rgb(0,0,0);white-space:pre-wrap">AttributeResolverService</span><br></div><div class="gmail_default" style="font-family:garamond,serif"><pre style="color:rgb(0,0,0);white-space:pre-wrap">last reload attempt: 2020-09-07T14:23:44Z
last failure cause: net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myLDAP': Cannot create inner bean '(inner bean)#614a2080' of type [org.ldaptive.pool.PooledConnectionFactory] while setting bean property 'connectionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#614a2080': Cannot create inner bean '(inner bean)#79445c3f' of type [net.shibboleth.idp.attribute.resolver.spring.dc.ldap.impl.LDAPDataConnectorParser$V2Parser] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#79445c3f': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Prune period 0 must be greater than zero</pre></div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font face="garamond, serif">M<span class="gmail_default" style="font-family:garamond,serif">y ldap.properties configuration is as follows:</span></font></div># LDAP pool configuration, used for both authn and DN resolution<br>idp.pool.LDAP.minSize = 3<br>idp.pool.LDAP.maxSize = 10<br>idp.pool.LDAP.validateOnCheckout = false<br>idp.pool.LDAP.validatePeriodically = true<br>idp.pool.LDAP.validatePeriod = 300<br>idp.pool.LDAP.prunePeriod = 300<br>idp.pool.LDAP.idleTime = 600<br>idp.pool.LDAP.blockWaitTime = 3000<br><div>idp.pool.LDAP.failFastInitialize = false<font face="garamond, serif"><span class="gmail_default" style="font-family:garamond,serif"></span></font></div><div><font face="garamond, serif"><span class="gmail_default" style="font-family:garamond,serif"><br></span></font></div><div><font face="garamond, serif"><span class="gmail_default" style="font-family:garamond,serif">Any suggestions / pointers will be appreciated.</span></font></div><div><font face="garamond, serif"><span class="gmail_default" style="font-family:garamond,serif"><br></span></font></div><div><font face="garamond, serif">Thanks and Regards,</font></div><div><font face="garamond, serif"><br></font></div><div><p style="font-size:12.8px;background-image:initial;background-position:initial;background-repeat:initial"><b><span style="font-size:12pt">Amit Dongaonkar</span></b></p><p style="font-size:12.8px;background-image:initial;background-position:initial;background-repeat:initial"><br></p></div></div></div></div></div></div></div></div></div></div>