Put the jndi.jar into the $COCOON_SRC_DIR/lib/optional Check the $COCOON_SRC_DIR/lib/jars.xml for following lines: <file> <title>jndi LDAP API</title> <description>Java API for LDAP works</description> <used-by>LDAP Transformer</used-by> <lib>optional/jndi.jar</lib> <homepage>http://java.sun.com/products/jndi</homepage> </file>
and rebuild the cocoon. After rebuilding, in the $COCOON_SRC_DIR/build/cocoon/classes/org/apache/cocoon/transformation you find the LDAPTransformer.class and LDAPTransformer$LDAPQuery.class > there aren't in the cocoon.jar (org/apache/cocoon/transformation) > Should I add them? Where can I find them? > > Check the : > LDAPTransformer.class > LDAPTransformer$LDAPQuery.class > in the your cocoon.jar (org/apache/cocoon/transformation) > > > I have them, into the cocoon/web-inf/lib I have these libs : > > jndi.jar > > jaas.jar > > ldap.jar > > ldapbp.jar > > ldapsec.jar > > providerutil.jar > > > > but I doesn't work. Still have the "class not found" error > > > > > When I declare the transformer > > > <map:transformer name="ldap" > > > src="org.apache.cocoon.transformation.LDAPTransformer"/> > > > in the sitemap I get the error "class not found". > > > Do I need some special libs? > > > > You must have the jndi.jar or use the J2SDK 1.4.1 family > > > > >I have tomcat 4.1.24 & cocoon 2.0 > > > > > > Thanks > > > > > > -----Original Message----- > > > From: Martin Holz [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, June 04, 2003 11:15 AM > > > To: [EMAIL PROTECTED] > > > Subject: Re: XSP & LDAP > > > > > > > > > <[EMAIL PROTECTED]> writes: > > > > > > > Hello, > > > > I would like to get some information about how to use the LDAP > > > > transformer (first of all, in wich library the classes are), > > > > > > In cocoon-naming-block.jar. > > > > > > > -- > > Best regards, > Yury Mikhienko. > IT engineer, ZAO "Mobicom-Kavkaz" > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Yury Mikhienko. IT engineer, ZAO "Mobicom-Kavkaz" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]