[Date Prev][Date Next] [Chronological] [Thread] [Top]

Connection Pool(binded connection) for ldap server



Hello all,
    Can anybody have an idea of how to maintain connecting pooling to
openldap using java.  I am developing an ldap client with ejb as the middle
ware.
So I want to maintain the pool of connections(all binded).  Is there any way
to maintain a connection pool

Thanks & Regards
Raghu
----- Original Message -----
From: Michael Lam <mlam@rim.net>
To: <openldap-software@OpenLDAP.org>
Sent: Friday, December 14, 2001 5:33 AM
Subject: new entries not found, with connection pool


> Hi all,
>
> We're using OpenLDAP in a project.  One problem occurs - we're keeping all
> connections alive via a connection pool.  When slapd fails, we try to keep
> disconnecting and reconnecting until slapd is up again.
>
> Then we did the following:
>
> 1. shut down and restart slapd
> 2. add a new entry to the directory
> 3. try to search for that new entry using "ldap_search_s" in the OpenLDAP
> API.
>
> Sometimes, JUST sometimes, the entry could not be found.
>
> Has anyone been in similar situations?
>