[jnc-users] LDAP with jnc
Status: Beta
Brought to you by:
soapy
|
From: <no...@sm...> - 2007-10-15 13:48:20
|
Hello,
i am using the JNDI-Classes coming with the sun-jre/jdk to do some
LDAP-Querys. Obviously (and most understandable) this class is not
implemented in the gcj. Is there a simmilar class to use or some other
means to get this running in a JNC binary?
The exception to whom it may concern:
java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory not
found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(LdapInfo)
at gnu.gcj.runtime.SystemClassLoader.findClass(LdapInfo)
at java.lang.ClassLoader.loadClass(LdapInfo)
at java.lang.ClassLoader.loadClass(LdapInfo)
at java.lang.Class.forName(LdapInfo)
at javax.naming.spi.NamingManager.getInitialContext(LdapInfo)
at javax.naming.InitialContext.getDefaultInitCtx(LdapInfo)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(LdapInfo)
at
javax.naming.directory.InitialDirContext.getURLOrDefaultInitDirCtx(LdapInfo)
at javax.naming.directory.InitialDirContext.search(LdapInfo)
at ldapinfo.LdapQuery.getDirContext(LdapInfo)
at ldapinfo.LdapInfo.main(LdapInfo)
Regards
Norman
|