Hi,

I have been using apacheds 1.5.7. I went through the code where the above
log message is printed and found that it is being printed from the following
code segment in LdapRequestHandler's handleMessage method.

if( ldapSession == null )
        {
            // in some cases the session is becoming null though the client
is sending the UnbindRequest
            // before closing
            LOG.info( "ignoring the message {} received from null session",
message  );
            return;
        }

I am trying to understand what the comment line in the above code segment
says:
Could I please know when the session can become null, and what is the unbind
request that a client sends, as mentioned in the comment above?

Thanks i advance,
Hasini.

On Tue, Mar 1, 2011 at 5:19 PM, Hasini Gunasinghe <[email protected]> wrote:

> Hi,
>
> When apacheds embedded-ldap server is used in an application, after the
> ldap is being queried once, following log message is printed continuously
> till the application is stopped..
> May I please know what is the reason and how to overcome it?
>
> [2011-03-01 17:09:50,224]  INFO
> {org.apache.directory.server.ldap.handlers.LdapRequestHandler} -  ignoring
> the message
> org.apache.directory.shared.ldap.message.UnbindRequestImpl@e43516f1received 
> from null session
>
> Thanks in advance,
> Hasini.
>

Reply via email to