Thanks,

Maybe I deleted the default-sql-directories-bundle.xml but I've just added it 
in nuxeo.ear/config
and now I've got the following error : 
===========================================================
= Nuxeo EP Started
===========================================================
= Component Loading Status: Pending: 0 / Total: 201
===========================================================
02:57:35,142 INFO  [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: 
CVSTag=Branch_4_0 date=200610162339)] Started in 1m:34s:580ms
02:58:06,168 ERROR [ComponentManager] Failed to get service: interface 
org.nuxeo.ecm.platform.usermanager.UserManager
02:58:06,181 ERROR [NuxeoLoginModule] org.nuxeo.ecm.core.api.ClientException: 
Runtime exception was raised. Wrapping now...
02:58:13,990 ERROR [NuxeoLoginModule] org.nuxeo.ecm.core.api.ClientException: 
Runtime exception was raised. Wrapping now...

I'm lost and I don't know what I can do now, what do you think I could do?

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


>
> 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]
>  
To deploy properly you need the component 
'org.nuxeo.ecm.directory.sql.storage' to be deployed, but it is not. Check:
JBOSS/server/default/deploy/nuxeo.ear/config/default-sql-directories-bundle.xml
 
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
 


----------------------------------------------------------------------------------------------------------------
Vincent wrote:
> 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)
>   
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


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

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