"Ingo Schaefer" <[EMAIL PROTECTED]> wrote in message 
news:<arddnt$h9jvh$[EMAIL PROTECTED]>...
> Hello,
> "usuario_jon" <[EMAIL PROTECTED]> wrote:
> > result.getCount () -> randomly returns (0, 1, n)
> 
> getCount() returns the number of Messages instantly available
> to get retrieved with next()
> 
> That is because your search is in asynchronous mode.
> (batch)
> Turn it off by using batch-size of "0" in LDAPSearchConstraints
> Then it should only return the number of entries and
> every error should throw an Exception
> 
> hth
> Ingo Schaefer

Our search is in syhronous mode (we've stablished batch-size to 0
previously).

We have solved it.
The problem was at the client Cache provided by the Netscape jsdk 4.1.

Don't know yet, if there is a bug in that jsdk, or we don't use it in
the correct manner.

We'll study it.

THANKS.

Reply via email to