Home » Other » Training & Certification » Error in running the sample LDAP code
Error in running the sample LDAP code [message #203586] Wed, 15 November 2006 11:14
hari_nava@yahoo.co.in
Messages: 2
Registered: November 2006
Location: Us
Junior Member
Hi,
I am using jdeveloper 10.3 and I was trying to run the sample application that is present in the following url.

http://www.oracle.com/technology/sample_code/products/jdev/readmes/samples/ldapdatacontrol/ldapapplication/public_html/index.html

But While running the Test.java I get the following error. Is there any one who can help me in this please?

javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Please enter more characters]; remaining name 'dc=yourcompany,dc=users'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3058)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1808)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
at dc.ldap.model.LDAPSearch.executeSearch(LDAPSearch.java:55)
at dc.ldap.runtime.Test.main(Test.java:19)
Exception in thread "main" java.lang.NullPointerException


Thanks,
Haripriya.S
Previous Topic: LDAP authorization with ADF in Jdev 10.3
Next Topic: Oracle 10g DBA - Help
Goto Forum:
  


Current Time: Tue Dec 06 02:29:10 CST 2016

Total time taken to generate the page: 0.11130 seconds