blockWaitTime in IdPv3 ldap.properties

Nick Roy nroy at internet2.edu
Wed Nov 4 18:52:36 EST 2015


Hello,

I'm setting up IdPv3.1.2 and configuring LDAP connection pooling settings in ldap.properties.

If I specify a value of, say, PT3S for blockWaitTime, I get a bean creation error displayed as part of a dump on the default login page:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchConnectionPool' defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'long' for property 'blockWaitTime'; nested exception is java.lang.NumberFormatException: For input string: "PT3S"

If I specify a value of 3000 for blockWaitTime I get a bean creation error in idp-process.log:

Failed to instantiate [long]: Factory method 'buildDuration' threw exception; nested exception is java.lang.IllegalArgumentException: 3000

It seems there is a conflict between two different locations (ldap.properties and ldap-authn-config.xml) where this is used, is that right?  Should I just delete the reference from one of these places and change it to the other format?  This seems awkward.

Best,

Nick


More information about the users mailing list