users@glassfish.java.net

Re: External LDAP connection randomly closing

From: <glassfish_at_javadesktop.org>
Date: Wed, 11 Jun 2008 18:58:50 PDT

I am running Glassfish-v2ur2 or Sun Java System Application Server 9.1_02 (build b04-fcs)

I don't know the exact amount of time it takes. Probably around an hour or so.

I get the following exception when I try to use the connection. The only way to get it back is to restart the app server.

javax.naming.CommunicationException: connection closed [Root exception is java.io.IOException: connection closed];

Caused by: java.io.IOException: connection closed
        at com.sun.jndi.ldap.LdapClient.ensureOpen(LdapClient.java:1558)
        at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:504)
        at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1944)
[Message sent by forum member 'chrys' (chrys)]

http://forums.java.net/jive/thread.jspa?messageID=279841