Thank you very much for your help.

I've checked the log level for org.nuxeo and it was « WARN », so I've changed 
it to « INFO », then I've searched for ldap in the log but I've not found this 
line : 
2008-07-25 14:31:54,769 INFO 
[org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory] directory registered: 
userDirectory

The only thing I've found about ldap in the log was this : 
2008-07-10 23:18:11,090 INFO  [org.nuxeo.runtime.jboss.osgi.JBossOSGiAdapter] 
Installing OSGi bundle: 
file:/home/stagiaire/nuxeo-ep-5.1.5.GA/server/default/deploy/nuxeo.ear/platform/nuxeo-platform-directory-ldap-5.1.5.jar

2008-07-10 23:18:11,091 INFO  [org.nuxeo.osgi.BundleRegistry] Registering 
resolved bundle: org.nuxeo.ecm.directory.ldap

2008-07-10 23:18:11,115 INFO  [org.nuxeo.runtime.model.ComponentManager] 
Registering component: service:org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory

2008-07-10 23:18:11,117 INFO  
[org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory] component activated

2008-07-10 23:18:11,120 INFO  
[org.nuxeo.ecm.directory.ldap.LDAPDirectoryActivator] bundle started: 
org.nuxeo.ecm.directory.ldap


And it still doesn't work...

The error is still the same : 
23:54:04,227 ERROR [NuxeoLoginModule] 
org.nuxeo.ecm.directory.DirectoryException: no directory registered with name 
'userDirectory'

There's also similar lines about sql in the log, do I have to remove the sql 
file in nuxeo.ear/config ?
I don't understand this line in the log : 
2008-07-10 23:19:02,209 INFO  [org.nuxeo.runtime.model.ComponentManager] 
Registration delayed for component: 
service:org.nuxeo.ecm.directory.ldap.storage.users. Waiting for: 
[service:org.nuxeo.ecm.directory.sql.storage]
 

What do you think I could do now to solve the problem?

Vincent

--------------------------------------------------------------------------------------------------------------------

> De : "Alexandre Russel" <[EMAIL PROTECTED]>
> A : "Vincent" <[EMAIL PROTECTED]>

first check that the log level for org.nuxeo is at least info (in 
JBOSS/server/default/conf/log4j.xml),

then just do a search for ldap in the log, you should get something like:

2008-07-25 14:31:54,769 INFO
[org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory] directory
registered: userDirectory

If you can't find it, look for this line:

2008-07-25 14:31:05,790 INFO
[org.nuxeo.runtime.jboss.deployment.NuxeoDeployer] Sub Deployment order is:

it will list all jar/config.xml/bundle.xml that are going to be deployed.

alex

(please keep the mail in the list, with thunderbird, use reply all, not just 
reply)

--
Alexandre Russel
Open Source, Java EE based, Enterprise Content Management (ECM) New! Nuxeo TV 
on http://nuxeo.blip.tv/
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87




Thanks for your quick answer.
The name is already userDirectory. Here is a piece of my 
default-ldap-users-directory-bundle.xml :

<extension target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" 
point="servers">
   <server name="default">
       <ldapUrl>ldap://10.2.100.1:389</ldapUrl>
<bindDn>ou=Users,ou=OxObjects,dc=mairie-tampon,dc=fr</bindDn>
<bindPassword>****</bindPassword>
    </server>
</extension>

<extension target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" 
point="directories">
   <directory name="userDirectory">
   <server>default</server>
   <schema>user</schema>
   <idField>uid</idField>
   <passwordField>userPassword</passwordField>
...

How do you check that it's deployed? (I've looked in the boot.log and 
server.log files but
I don't understand all that is described)




> Message du 25/07/08 11:01
> De : "Alexandre Russel" <[EMAIL PROTECTED]>
> A : "Vincent" <[EMAIL PROTECTED]>
> Copie à : [email protected]
> Objet : Re: [Ecm] Nuxeo & LDAP
>
>
> Vincent wrote:
> > Hi,
> >
> > I'm trying to use Nuxeo 5 with a ldap server but the connection between
> > nuxeo and the server fails.The LDAP server is working correctly and I
> > can connect on it with a LDAP Client.
> > I've add the three files default-ldap-groups-directory-bundle.xml,
> > default-ldap-users-directory-bundle.xml,
> > default-virtual-groups-bundle.xml in the nuxeo.ear/config directory
> > after modifying them but
> > I can't connect to the server using nuxeo.
> > I have this error :  
> > ERROR [NuxeoLoginModule]org.nuxeo.ecm.directory.DirectoryException: no 
> > directory registered with name 'userDirectory'
> >
> > Please, can you tell me what i could do to fix that ?
> >
> > _______________________________________________
> > ECM mailing list
> > [email protected]
> > http://lists.nuxeo.com/mailman/listinfo/ecm
> >  
> check the name(it should be userDirectory):
>     <extension
>         target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory"
>         point="directories">
>         <directory name="userDirectory">
> and check in the log that it is deployed
>
> alex
>
> --
> Alexandre Russel
> Open Source, Java EE based, Enterprise Content Management (ECM)
> New! Nuxeo TV on http://nuxeo.blip.tv/
> Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
>
>
>

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to