cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yury Mikhienko <Yury.Mikhie...@mobicomk.ru>
Subject Re: XSP & LDAP
Date Wed, 04 Jun 2003 12:39:08 GMT
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:holz@fiz-chemie.de] 
> > > Sent: Wednesday, June 04, 2003 11:15 AM
> > > To: cocoon-users@xml.apache.org
> > > Subject: Re: XSP & LDAP
> > > 
> > > 
> > > <Maxime.Gheysen@swisscom.com> 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: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message