cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Duhme <>
Subject Getting started with LDAPEntryManager -Virus checked-
Date Wed, 12 Oct 2005 12:54:18 GMT

again my topic is getting ldap updates and adds working...

I tried loading the LDAPEntryManager from Jeremy Quinn in my FlowScript.

I configured the LDAPEntryManager as described in the API, in cocoon.xconf

<component role="org.apache.cocoon.component.EntryManager" 
                   <parameter name="ldap-host" value="hostname:port"/>
                   <parameter name="ldap-base" value="dc=example,dc=com"/>
                   <parameter name="ldap-user" value="username"/>
                   <parameter name="ldap-pass" value="password"/>

Then I do

var em = 

in the FlowScript.

But all I get is an error message

org.apache.avalon.framework.service.ServiceException: Unable to lookup 
component: org.apache.cocoon.components.naming.EntryManager 

I get no error with

var em = new;

I'm not really sure what's the difference is but I think the component 
isn't configured correctly if
I just call the constructor.

Please correct me if I'm wrong with that.

So all I need to know is how to load the component LDAPEntryManager from 
Maybe it's just a stupid beginner issue... I don't know.


David Duhme

Wilhelm Karmann GmbH
- Kommunikationsprozesse -
Karmannstrasse 1
49084 Osnabrueck
Telefon: +49 541 581 7280
View raw message