I downloaded JNDI and created the cocoon war package as described in
http://xml.apache.org/cocoon/installing/index.html.  I do not have errors
related to LDAP when starting tomcat/cocoon.    

My sitemap has:
<map:transformer name="ldap"
src="org.apache.cocoon.transformation.LDAPTransformer"
logger="sitemap.transformer.ldap"/>

I am using JNDI 1.2.2, Cocoon 2.0, Tomcat 3.2.1

Now if you want to ask me if I actually have any working LDAP functionality
in my cocoon implementation, well I'm still working on that. 

Marc

-----Original Message-----
From: Ruth, Thomas {PDBI~Basel} [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 8:49 AM
To: '[EMAIL PROTECTED]'
Subject: Cocoon2 and LDAP


Hi
we tried to install LDAP in our Cocoon 2.0 environment. 
I downloaded jndi1.2.2 and put the jar file in the lib directory.
In the sitemap.xmap we included the line 
<map:transformer name="ldap"
src="org.apache.cocoon.transformation.LDAPTransformer"/>

After the restart we got the error message: 
ERROR   (2002-02-13) 07:36.19:802   [cocoon  ]
(/cocoon/pathfinder/index.xml) ExecuteThread: '10' for queue:
'default'/GeneratorSelector: Could not set up Component for hint:
org/apache/cocoon/www/sitemap_xmap
org.apache.avalon.framework.configuration.ConfigurationException: Error in
sitemap configuration : org.apache.cocoon.transformation.ldapTransformer
...
java.lang.ClassNotFoundException:
org.apache.cocoon.transformation.ldapTransformer
...

When we removed the line in the sitemap.xmap the error was still there, -->
the sitemap did not compile.
It only did work again when we deleted the
....\cocoon\WEB-INF\_tmp_war_wld3server_wld3server_cocoon\cocoon-files\org\a
pache\cocoon\www\*.* class and java files.

So the question is still open: How to use Cocoon2 and LDAP?

Thnaks
Thomas

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to