• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object] when fetching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object] when fetching


  • Subject: Re: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object] when fetching
  • From: Gustavo Adolfo Pizano <email@hidden>
  • Date: Thu, 7 May 2009 16:33:13 +0200

Hello
I was trying to get this work, but still nothing, I made the following to see what directory context I was, because it seems Im not positioned in the right place to makes search.

JNDIContext a = new JNDIContext(EOAdaptor.adaptorWithModel(EOModelGroup.defaultGroup().modelNamed("MyEOModel")));

System.out.println(a.initialDirContext());

and I get on screen from the println a null.... 

so I dunno if the problem is somewhere in this way, or Im just completely lost (my guess the second option).


Thanks for any help..

Gustavo



On May 7, 2009, at 2:21 PM, Gustavo Pizano wrote:

Hello, 
I reverse engineered the LDAP schema to EOModel, now I have to follwoing

an entity XWSContactsGroup, a XWSContact, and a XWSContactElement.

I made the following relationships, whiteout flattering,

 XWSContactsGroup >>    << XWSContact >>   <  XWSContactElement.

now, I want to fetch a specific XWSContacGroup dowing the follwoing


XWSContactsGroup cg = XWSContactsGroup.fetchRequiredXWSContactsGroup(ec, "cn","Contacts");

and this is the result 

com.webobjects.jndiadaptor.JNDIAdaptorException: Cannot search (&(objectClass=xwsContactsGroup)(cn=Contacts)): javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name ''


Im not LDAP  expert, but my boss kinda told me that the & sign shouldn't be there, but I don't have control over that & generation,... so... 

I guess there should be another to make the fetch.

Any ideas?


Thanks 

Gus


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • [SOLVED]Re: javax.naming.NameNotFoundException: [LDAP: error code 32..]...BUT....
      • From: Gustavo Adolfo Pizano <email@hidden>
References: 
 >javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object] when fetching (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object] when fetching
  • Next by Date: [SOLVED]Re: javax.naming.NameNotFoundException: [LDAP: error code 32..]...BUT....
  • Previous by thread: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object] when fetching
  • Next by thread: [SOLVED]Re: javax.naming.NameNotFoundException: [LDAP: error code 32..]...BUT....
  • Index(es):
    • Date
    • Thread