On 01/19/2016 10:25 AM, Philip Colmer wrote: > Switching to JNDI *does* fix the problem.
Could you tell me which LDAP server you try to connect to? Is it Active Directory? And are you connecting via LDAPS? If possible, can you switch back to Apache LDAP API, make it stuck again, and create a thread dump? To create a thread dump you need a to have the JDK installed. Then from commandline you can first use "jps" to get PIDs of Java processes, then use "jstack <pid>" to generate the thread dump. I just want to know if it gets stuck while communicating with the server, or if some Studio code is the cause. I'm asking because Radovan found an issue with Mina (the framework we use in LDAP API) that describes your problem[1]. Kind Regards, Stefan [1] https://mail-archives.apache.org/mod_mbox/directory-dev/201601.mbox/%3C569FD0EC.8050203%40evolveum.com%3E
