Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] sources.xml Connection Pool Ldap?

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] sources.xml Connection Pool Ldap?


Chronological Thread 
  • From: Tom Zeller <>
  • To: Colin Hudler <>
  • Cc:
  • Subject: Re: [grouper-dev] sources.xml Connection Pool Ldap?
  • Date: Thu, 18 Jun 2009 09:05:44 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=SFFWPwxGmfUtwVJMc3qHf3ZgfdwTwPIfgfHwjMbldH8f7nTrx9TjAR1pQ6nEERcMYw IqrxMqgBflK8FlbMsUuLqad1rj4+qrLiBr4yA6roaSBZBtkRDSKK3VM9X86ufZHNX5Pm ra4I0Ljex5d/NdL/0+BTKtmJwae+LnIH2gpuA=

Well, no, the JNDISourceAdapter isn't conducive to pooling.

We indeed are creating and closing the ldap context before and after each search, so adding the connection pooling environment property won't help much.

We might want to provide an LdapSourceAdapter which uses vt-ldap so we can have connection pooling etc. even with TLS.

I'm not sure what priority this is.

TomZ

On Thu, Jun 18, 2009 at 8:50 AM, Colin Hudler <> wrote:
Hi,

I observed one of our test instances of grouper starting a new ldap session each time a person subject was to be resolved (the other test instances use mysql or mssql for the subject source).  Is there a way to request connection pooling?  I could not find this answer in the archives or wiki, but there is an "issue" in jira at <https://bugs.internet2.edu/jira/browse/MCO-9>.  I am unable to extract the answer from that, however.

the sources.xml is using edu.internet2.middleware.grouper.subj.GrouperJndiSourceAdapter and
<param-name>INITIAL_CONTEXT_FACTORY</param-name>
<param-value>com.sun.jndi.ldap.LdapCtxFactory</param-value>




Archive powered by MHonArc 2.6.16.

Top of Page