tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Curtis, Darren S" <Darren.Cur...@pnl.gov>
Subject Troubles with LDAP...
Date Tue, 09 May 2000 20:44:05 GMT
I have successfully installed Tomcat and Cocoon. I was
able to run through all of the samples except for the
ldap example. I made a copy of the LDAP query, fixed the
typos, added a real LDAP server query. The result is the
file at the URL,
http://yard.arm.gov/src/jakarta-tomcat/webapps/examples/samples/ldap/arm.xml
with the XSL at the URL,
http://yard.arm.gov/src/jakarta-tomcat/webapps/examples/samples/ldap/arm.xsl

Any help would be greatly appreciated.
Thanks in advance,
Darren Curtis

FYI, When I access the URL,
http://yard.arm.gov:8080/examples/samples/ldap/arm.xml
I get the following error page:
javax.naming.NoInitialContextException: Cannot instantiate class:
com.sun.jndi.ldap.LdapCtxFactory . Root exception is
java.lang.ClassNotFoundException: com/sun/jndi/ldap/LdapCtxFactory at
java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Class.java:200) at
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:49) at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660) at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250) at
javax.naming.InitialContext.init(InitialContext.java:226) at
javax.naming.ldap.InitialLdapContext.(InitialLdapContext.java:137) at
org.apache.cocoon.processor.ldap.LdapContextCreator.getLdapContext(LdapContextCr
eator.java:82) at
org.apache.cocoon.processor.ldap.LdapDefs.getLdapContext(LdapDefs.java:159) at
org.apache.cocoon.processor.ldap.LdapProcessor.process(Compiled Code) at
org.apache.cocoon.Engine.handle(Compiled Code) at
org.apache.cocoon.Cocoon.service(Cocoon.java:145) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code) at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConne
ctionHandler.java:160) at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338) at
java.lang.Thread.run(Compiled Code)


Mime
View raw message