grouper-users - Re: [grouper-users] vt-ldap pooling
Subject: Grouper Users - Open Discussion List
List archive
- From: Rahul Doshi <>
- To: "" <>
- Subject: Re: [grouper-users] vt-ldap pooling
- Date: Thu, 28 Feb 2013 17:37:26 +0000
- Accept-language: en-US
- Authentication-results: sfpop-ironport03.merit.edu; dkim=neutral (message not signed) header.i=none
I added/modified following lines in LdapSourceAdapter.java and I can see
now 5 ldap connections when I do netstat.
LdapPoolConfig ldapPoolConfig = new LdapPoolConfig();
ldapPoolConfig.setMaxPoolSize(10);
ldapPoolConfig.setMinPoolSize(5);
ldapPool = new SoftLimitLdapPool(ldapPoolConfig, factory);
Thanks,
Rahul
On 2/26/13 8:44 PM, "Gagné Sébastien"
<>
wrote:
>It's a good question, here I do have a reference to the ldap.properties
>in my sources.xml (tried it a fully qualified name with no more success) :
>
> <!-- Note that most of the ldap configuration is in the properties
>file.
> The filename can be a file in your classpath or an absolute
>pathname. -->
>
> <init-param>
> <param-name>ldapProperties_file</param-name>
> <param-value>ldap.properties</param-value>
> </init-param>
>
>
>-----Message d'origine-----
>De :
>
>[mailto:]
> De la part de Tom Zeller
>Envoyé : 26 février 2013 17:14
>À : Rahul Doshi
>Cc :
>
>Objet : Re: [grouper-users] vt-ldap pooling
>
>Are you sure vt-ldap is reading ldap.properties ?
>
>I think you have to instruct the ldap source adapter to read
>ldap.properties in sources.xml, as ldap_propertiesFile or something like
>that.
>
>On Tue, Feb 26, 2013 at 9:29 AM, Rahul Doshi
><>
> wrote:
>> Hello,
>>
>> I am using using LdapSourceAdapter in sources.xml and have specified
>> properties below in ldap.properties to increase minimum pool size to
>> 10 but it's not taking effect. Even after specifying minimum pool
>> size to ten I just see three ldap connections when I do netstat. Can
>> anyone suggest me what I might be missing.
>>
>> edu.vt.middleware.ldap.pool.minPoolSize = 10
>> edu.vt.middleware.ldap.pool.maxPoolSize = 20
>>
>> Thanks,
>> Rahul
- [grouper-users] vt-ldap pooling, Rahul Doshi, 02/26/2013
- Re: [grouper-users] vt-ldap pooling, Tom Zeller, 02/26/2013
- RE: [grouper-users] vt-ldap pooling, Gagné Sébastien, 02/26/2013
- Re: [grouper-users] vt-ldap pooling, Rahul Doshi, 02/28/2013
- RE: [grouper-users] vt-ldap pooling, Gagné Sébastien, 02/26/2013
- <Possible follow-up(s)>
- RE: [grouper-users] vt-ldap pooling, Gagné Sébastien, 02/26/2013
- RE: [grouper-users] vt-ldap pooling, Gagné Sébastien, 02/26/2013
- Re: [grouper-users] vt-ldap pooling, Tom Zeller, 02/26/2013
Archive powered by MHonArc 2.6.16.