Re: [jnc-users] LDAP with jnc
Status: Beta
Brought to you by:
soapy
From: Marco T. <ma...@mt...> - 2007-10-15 13:57:52
|
Hey Norman Norman Rieß wrote: > 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? Either extract the Sun implementation and compile it into the project or search another LDAP library (JLDAP for example). Hope that helps Marco > > 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 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > javaCompiler-users mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/javacompiler-users |