File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java App processed partial resultset
Joined: Mar 14, 2005
Mar 28, 2006 08:32:00
Is there any reason why a
program would only process a partial resultset from LDAP?
I queried an LDAP database using a Java program, the LDAP logs say LDAP sent 10232 entries back:
op=1 msgId=2 - RESULT err=0 tag=101 nentries=10232 etime=1206 notes=U
But my program while(results.hasMoreElements()) returned 3012. No exceptions were thrown.
Any ideas why this would happen? Buffer overflow? Network issues? Client memory issues?
Joined: Mar 27, 2006
Mar 29, 2006 00:43:00
Just a thought, may be its your selection criteria or the attributes you are filtering which affect the result set.
I agree. Here's the link:
subject: Java App processed partial resultset
OutOfMemory Error and Statement.close()
Welcome Clayton (and everyone else)!
Alternative strategies for authenticating against LDAP w/ JNDI
Need an example on LDAP with EJB Stateless Session beans
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015