• 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
Connecting to LDAP Directory with EOModeler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Connecting to LDAP Directory with EOModeler


  • Subject: Connecting to LDAP Directory with EOModeler
  • From: "Xia, Wen" <email@hidden>
  • Date: Mon, 15 May 2006 17:50:09 -0700
  • Thread-topic: Connecting to LDAP Directory with EOModeler

Title: Connecting to LDAP Directory with EOModeler
I need to get some data from an LDAP directory.  I tried to use the JNDI adaptor to create an EOModel for this data.  I was successful in creating the model and browsing the data in EOModeler, but I was unable to use the model in any code to actually do anything useful.  I kept getting error:

<WorkerThread5> java.lang.NullPointerException
    at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:110)
    at com.sun.jndi.ldap.LdapNamingEnumeration.nextAux(LdapNamingEnumeration.java:244)
    at com.sun.jndi.ldap.LdapNamingEnumeration.nextImpl(LdapNamingEnumeration.java:235)

I searched through the apple mailing list and its archive.  I found some posts with the same problem, but I did not see a solution to it.  From the limited documentation I could find, it looks like a JNDI model should work just like a JDBC model.  Is anyone successfully using the JNDI adaptor to fetch LDAP data using EOModel?  If so, what is the trick in getting it to work?  

Thank you.

 _______________________________________________
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:
    • Re: Connecting to LDAP Directory with EOModeler
      • From: Chuck Hill <email@hidden>
References: 
 >Re: NSTimestampFormatter DECREMENTING 'day' on each pass (From: WebObjects <email@hidden>)

  • Prev by Date: Re: WebObjects Licensing
  • Next by Date: Re: refreshing the defaultEditingContext
  • Previous by thread: Re: NSTimestampFormatter DECREMENTING 'day' on each pass
  • Next by thread: Re: Connecting to LDAP Directory with EOModeler
  • Index(es):
    • Date
    • Thread