I'd have to investigate the connection handling code to say for sure but I think this may be coming from processing an abandon request. Let me explain.
The client sends an abandon request just before it drops the connection (socket). Then the server gets the abandon message and tries to close the socket on it's end. But before it can do that, the MINA handler code already cleans up the MINA session. So when the AbandonRequest handler picks up and looks up the LdapSession object it does not see it. This is the warning message you're getting. So the message is harmless as you observed. HTH On Thu, Apr 23, 2009 at 11:06 AM, <[email protected]> wrote: > > little more informations : > > SSL connections. > > With this sample, i have the warning message at each context.close(). > > InitialLdapContext context = initializeLdapContext(ldapEnv); > context.close(); > > > ----- Mail Original ----- > De: [email protected] > À: [email protected] > Envoyé: Jeudi 23 Avril 2009 16h50:57 GMT +01:00 Amsterdam / Berlin / Berne > / Rome / Stockholm / Vienne > Objet: [Apache DS] Null LdapSession given to cleanUpSession > > > Hi > > I have embbeded an Apache DS : trunck revision 767919 > > I've got a lot of warning messages when jndi clients request the server : > connect + search + close > It seems working despite warning messages. > > How can I avoid this ? > > 23.04.2009 16:18:11.009 [WARN ] Null LdapSession given to cleanUpSession. > (LdapProtocolHandler.java, line 108, class > org.apache.directory.server.ldap.LdapProtocolHandler) > > > > > -- Alex Karasulu My Blog :: http://www.jroller.com/akarasulu/ Apache Directory Server :: http://directory.apache.org Apache MINA :: http://mina.apache.org
