directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: Log message printed continuously after querying embedded-ldap server
Date Wed, 02 Mar 2011 07:49:42 GMT
On 3/2/11 7:39 AM, Hasini Gunasinghe wrote:
> 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?

If your client disconnect immediately after having sent an 
UnbindRequest, the session will be null, as the disconnection will be 
processed faster than the UnbindRequest.

You can ignore the message, it's an INFO level log.


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com


Mime
View raw message