Can't close connection used for pool creation in LDAP JAVA SDK 4.17

Carlos Sánchez <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Hi,

    In my app I need to create an LDAPv3 connections pool. As default 
protocol version is 2 I have to create the pool creating a connection 
setting the version to 3 and use that connection to create the pool. 
This works fine.

    The problem is when the application want to destroy the pool. I can 
actually destroy the pool and all its connections get closed but I can't 
disconnect the first connection created to set the protocol version...I 
call disconnect() method and don't get any exception but the connection 
remains open.

    I have tried to close the connection just after create the pool with 
the same results. Any idea?

Thanks in advance,

Carlos.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.