Dear all, where can I get this class from?com.sun.jndi.fscontext.RefFSContextFactory So that I can do something like Hashtable env = new Hashtable(11); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.fscontext.RefFSContextFactory"); Many thanks Ambrose Tati
ambrose, like i said to the others trying to use jndi, i haven't got it working yet but i need to soon. are you trying to access an LDAP server on your own server, or someone else's?
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Hi Tom , do you know whether that will help with the LDAP service as well?
Thomas Paul
mister krabs
Ranch Hand
Joined: May 05, 2000
Posts: 13974
posted
0
Have you installed an LDAP service?
Adam Hardy
Ranch Hand
Joined: Oct 09, 2001
Posts: 564
posted
0
Originally posted by Thomas Paul: Have you installed an LDAP service?
I'm trying to access a remote LDAP server. Curiously enough even though I have the ldap.jar file installed and can instantiate classes from it, the following code throws the exception "cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory"
Adam Hardy
Ranch Hand
Joined: Oct 09, 2001
Posts: 564
posted
0
anybody out there with experience on this? i'm really stuck.