wood burning stoves 2.0*
The moose likes Security and the fly likes Java App processed partial resultset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Java App processed partial resultset" Watch "Java App processed partial resultset" New topic

Java App processed partial resultset

David Miranda
Ranch Hand

Joined: Mar 14, 2005
Posts: 34
Hello all,

Is there any reason why a Java 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?

suekar meredilko
Ranch Hand

Joined: Mar 27, 2006
Posts: 153
Hi David,

Just a thought, may be its your selection criteria or the attributes you are filtering which affect the result set.
subject: Java App processed partial resultset
Similar Threads
Welcome Clayton (and everyone else)!
OutOfMemory Error and Statement.close()
Alternative strategies for authenticating against LDAP w/ JNDI
Object Instantiation
Need an example on LDAP with EJB Stateless Session beans