aspose file tools*
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
JavaRanch » Java Forums » Engineering » Security
Bookmark "Java App processed partial resultset" Watch "Java App processed partial resultset" New topic
Author

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?

Thanks
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java App processed partial resultset
 
Similar Threads
Welcome Clayton (and everyone else)!
Need an example on LDAP with EJB Stateless Session beans
Object Instantiation
Alternative strategies for authenticating against LDAP w/ JNDI
OutOfMemory Error and Statement.close()