Bonjour,

J'ai récupérer une appli J2EE développée sous OptimalJ qui permet d'une part de renseigner des tables et d'autre part de se synchroniser avec un ldap.

D'habitude tout roule et là au lancement du traitement, j'ai ce bloc d'erreurs.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Exception in thread "main" org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - No Such Object]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name ''
        at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:174)
        at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:810)
        at org.springframework.ldap.core.LdapTemplate.executeReadWrite(LdapTemplate.java:802)
        at org.springframework.ldap.core.LdapTemplate.modifyAttributes(LdapTemplate.java:982)
        at fr.mipih.ar2h.synchro.agirh.Synchro.main(Synchro.java:96)
Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name ''
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3070)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2991)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2797)
        at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1478)
        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:270)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:187)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:176)
        at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:159)
        at org.springframework.ldap.core.LdapTemplate$20.executeWithContext(LdapTemplate.java:984)
        at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:807)
        ... 3 more
Exception in thread "main" org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - No Such Object]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=UF,ou=Nomenclatures'
        at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:174)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:306)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:237)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:588)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:546)
        at fr.mipih.ldap.library.core.LdapDao.findAllLight(LdapDao.java:424)
        at fr.mipih.ar2h.metier.nomenclatures.manager.NomenclaturesManager.findAllLight(NomenclaturesManager.java:57)
        at fr.mipih.ar2h.metier.nomenclatures.factory.NomenclaturesManagerFactory.deleteNomenclature(NomenclaturesManagerFactory.java:90)
        at fr.mipih.ar2h.synchro.agirh.ChargementNomenclatures.chargerNomenclature(ChargementNomenclatures.java:107)
        at fr.mipih.ar2h.synchro.agirh.ChargementNomenclatures.chargerNomenclature(ChargementNomenclatures.java:95)
        at fr.mipih.ar2h.synchro.agirh.ChargementNomenclatures.main(ChargementNomenclatures.java:44)
        at fr.mipih.ar2h.synchro.agirh.Synchro.main(Synchro.java:47)
Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=UF,ou=Nomenclatures'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3070)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2991)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2797)
        at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1849)
        at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1772)
        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:383)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:353)
        at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:268)
        at org.springframework.ldap.core.LdapTemplate$3.executeSearch(LdapTemplate.java:231)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:293)
        ... 10 more
Exception in thread "main" org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - No Such Object]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=RegleGenereGroupe'
        at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:174)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:306)
La définition du schéma serait fausse?