PS. I'd be happy to submit a pull request if it would help; if you let me
know some of the answers to the queries I raised I can sort something out,

Greg

On 12 December 2016 at 20:35, Greg Thomas <[email protected]> wrote:

> Hi Emmanuel - I've raised a JIRA at https://issues.apache.org/
> jira/browse/DIRAPI-287 - I've also asked a couple of possibly dumb
> questions as part of this as to me some things are not totally clear in
> this area so the doc's may need updating to reflect this.
>
> Greg
>
> On 12 December 2016 at 17:31, Emmanuel Lecharny <[email protected]>
> wrote:
>
>> Hi Greg,
>>
>>
>> Can you fill a JIRA ? I may fix the issue/web site soon,  but atm I'm in a
>> train, and I will forget about the issue ig it's not in a ticjket...
>>
>> Thanks !
>>
>> Le lun. 12 déc. 2016 à 17:36, Greg Thomas <[email protected]> a
>> écrit :
>>
>> > At
>> >
>> >
>> > http://directory.apache.org/api/user-guide/2.1-connection-di
>> sconnection.html
>> >
>> > there's a nice easy to follow example of how to set up connection
>> pooling.
>> >
>> >
>> >
>> > The unfortunate thing is that it just doesn't work. The following line:
>> >
>> >
>> >
>> > PoolableLdapConnectionFactory factory = new
>> >
>> > PoolableLdapConnectionFactory( config );
>> >
>> >
>> >
>> > won't compile because PoolableLdapConnectionFactory isn't a class. I'm
>> >
>> > guessing this is a change in API that's not yet filtered through to the
>> >
>> > documentation yet. Digging around 1.0.0-RC2 does turn up either
>> >
>> > DefaultPoolableLdapConnectionFactory or
>> >
>> > ValidatingPoolableLdapConnectionFactory
>> >
>> >
>> >
>> > Is it simply a case of picking one of those based on the behaviour I
>> want.
>> >
>> > Given I'm connecting multiple times to the same server with the same
>> user,
>> >
>> > from my reading of the Javadoc I can simply get away with the
>> >
>> > DefaultPoolableLdapConnectionFactory - have I missed anything?
>> >
>> >
>> >
>> > Thanks,
>> >
>> >
>> >
>> > Greg
>> >
>> >
>>
>
>

Reply via email to