• 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
JNDI Adaptor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JNDI Adaptor


  • Subject: JNDI Adaptor
  • From: "Albert Jagnow" <email@hidden>
  • Date: Wed, 10 Sep 2003 14:00:41 -0500
  • Priority: normal
  • Thread-topic: JNDI Adaptor

I had a WebObjects project some months ago where I needed to get some
data from an LDAP directory.  At the time 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 the error java.lang.NullPointerException at
com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumerati
on.java:110).  I ended up giving up on the JNDI adaptor and just wrote
straight java code following the Sun JNDI example code to access the
data I needed.  I am planning to make changes/additions to this
application and the part that concerns the LDAP data.  I would like to
see if I can get the JNDI adaptor to work, as I think it would make
things much easier if I could use it, but I don't want to spend too much
time on it if it is not possible.  Is anyone successfully using the JNDI
adaptor to fetch LDAP data.  If so what is the trick in getting it to
work.  From the limited documentation I could find it looks like a JNDI
model should work just like a JDBC model, it doesn't seem like there is
anything special I should need to do.  Any comments or suggestions about
using the JNDI adaptor?

--
Albert Jagnow
Web Developer
The University of Iowa


This e-mail (including any attachments) is covered by the Electronic
Communications Privacy Act, 18 USC. 2510-2521. It is confidential and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then delete
it. Thank you.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: RE: Outer joins in EOFetchSpecification?
  • Next by Date: Re: Outer joins in EOFetchSpecification?
  • Previous by thread: Re: Outer joins in EOFetchSpecification?
  • Next by thread: HowTo cleanup Session data after an Application error occurred
  • Index(es):
    • Date
    • Thread