[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: error while adding entry using ldap.jar JAVA API



hi ,
   Is your environment a multi threaded one ? Is there a slight possibility that the container might not be added before adding a entry to that ?
 There is not much I can think of using the information given . If you provide much information than I can look into that .
 
regards
Arpit

>>> "Sumith Narayanan" <sumith.narayanan@gmail.com> 4/10/2008 4:23 AM >>>
Hi All,

I am trying to add a dn to openLDAP using novell's ldap.jar APIs. When I try to add a record it error out with the below exception 1% times :

com.novell.ldap.LDAPException: No Such Object : (32) No Such Object
at com.novell.ldap.LDAPResponse.getResultException(LDAPResponse.java:247)
at com.novell.ldap.LDAPResponse.chkResultCode(LDAPResponse.java:174)
at com.novell.ldap.LDAPConnection.add(LDAPConnection.java:1049)
at com.novell.ldap.LDAPConnection.add(LDAPConnection.java:1015)
at org.ietf.ldap.LDAPConnection.add(LDAPConnection.java:820)


Could anyone provide any clue to  help fix this ?

openLDAP & DB details :

The database which I am trying to update is 24GB in size,  OpenLDAP 2.3.27 and BDB backend 4.4.20. Mac OS Tiger with 4GB RAM. It will be receiving 100 searches / min at an average.

Thanks, Sumith.