You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Rui Lopes (JIRA)" <ji...@apache.org> on 2008/10/10 01:04:44 UTC

[jira] Created: (DIRSERVER-1278) Error while trying to create new partition

Error while trying to create new partition
------------------------------------------

                 Key: DIRSERVER-1278
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1278
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.4
            Reporter: Rui Lopes


We start by creating the top level naming context (aka partition):
NB: As described at http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html

    vim conf/server.xml
...
    <partitions>
...
      <jdbmPartition
            id="example_local"
            cacheSize="100"
            suffix="dc=example,dc=local"
            optimizerEnabled="true"
            syncOnWrite="true"
            >
      </jdbmPartition>
    </partitions>
...
    <apacheDS ...>
...
        <ldifDirectory>conf/example.local.ldif</ldifDirectory>
...
    </apacheDS>


    cat<<"EOF">conf/example.local.ldif
# example.local context entry
dn: dc=example,dc=local
dc: example
objectClass: domain
description: The context entry for suffix example.local
EOF

Restart AD and use Studio to browse the Root DSE.  When we browse it, the following error appears in AD log:

[23:46:56] ERROR [org.apache.directory.server.configuration.ApacheDS] - Failure while looking up ou=loadedLdifFiles,ou=configuration,ou=system
org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: Attempt to lookup non-existant entry: ou=loadedLdifFiles,ou=configuration,ou=system
        at org.apache.directory.server.core.exception.ExceptionInterceptor.assertHasEntry(ExceptionInterceptor.java:581)
        at org.apache.directory.server.core.exception.ExceptionInterceptor.lookup(ExceptionInterceptor.java:305)
        at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
        at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.lookup(DefaultAuthorizationInterceptor.java:434)
        at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
        at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.lookup(AciAuthorizationInterceptor.java:788)
        at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
        at org.apache.directory.server.core.authn.AuthenticationInterceptor.lookup(AuthenticationInterceptor.java:310)
        at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
        at org.apache.directory.server.core.normalization.NormalizationInterceptor.lookup(NormalizationInterceptor.java:231)
        at org.apache.directory.server.core.interceptor.InterceptorChain.lookup(InterceptorChain.java:882)
        at org.apache.directory.server.core.DefaultOperationManager.lookup(DefaultOperationManager.java:270)
        at org.apache.directory.server.core.DefaultCoreSession.lookup(DefaultCoreSession.java:281)
        at org.apache.directory.server.configuration.ApacheDS.ensureLdifFileBase(ApacheDS.java:266)
        at org.apache.directory.server.configuration.ApacheDS.loadLdifs(ApacheDS.java:397)
        at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:130)
        at org.apache.directory.server.Service.init(Service.java:86)
        at org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)
[23:46:56] WARN [org.apache.directory.shared.ldap.ldif.LdifReader] - No version information : assuming version: 1
[23:46:56] WARN [org.apache.directory.server.core.schema.SchemaInterceptor] - The RDN 'unixFilePath=2F686F6D652F72676C2F50726F6A656374732F6C6461702F61706163686564732F61706163686564735F312E352E342F636F6E662F6578616D706C652E6C6F63616C2E6C646966' is not present in the entry


Though, the partitions seems to be working fine anyways!

Can this error be really ignored?  or is there a problem somewhere else?



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1278) Error while trying to create new partition

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638429#action_12638429 ] 

Emmanuel Lecharny commented on DIRSERVER-1278:
----------------------------------------------

Can you chack that you have the file  :
/home/rgl/Projects/ldap/apach eds/apacheds_1.5.4/conf/example.local.ldif

present on your disk ?

> Error while trying to create new partition
> ------------------------------------------
>
>                 Key: DIRSERVER-1278
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1278
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>            Reporter: Rui Lopes
>
> We start by creating the top level naming context (aka partition):
> NB: As described at http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html
>     vim conf/server.xml
> ...
>     <partitions>
> ...
>       <jdbmPartition
>             id="example_local"
>             cacheSize="100"
>             suffix="dc=example,dc=local"
>             optimizerEnabled="true"
>             syncOnWrite="true"
>             >
>       </jdbmPartition>
>     </partitions>
> ...
>     <apacheDS ...>
> ...
>         <ldifDirectory>conf/example.local.ldif</ldifDirectory>
> ...
>     </apacheDS>
>     cat<<"EOF">conf/example.local.ldif
> # example.local context entry
> dn: dc=example,dc=local
> dc: example
> objectClass: domain
> description: The context entry for suffix example.local
> EOF
> Restart AD and use Studio to browse the Root DSE.  When we browse it, the following error appears in AD log:
> [23:46:56] ERROR [org.apache.directory.server.configuration.ApacheDS] - Failure while looking up ou=loadedLdifFiles,ou=configuration,ou=system
> org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: Attempt to lookup non-existant entry: ou=loadedLdifFiles,ou=configuration,ou=system
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.assertHasEntry(ExceptionInterceptor.java:581)
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.lookup(ExceptionInterceptor.java:305)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.lookup(DefaultAuthorizationInterceptor.java:434)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.lookup(AciAuthorizationInterceptor.java:788)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authn.AuthenticationInterceptor.lookup(AuthenticationInterceptor.java:310)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.normalization.NormalizationInterceptor.lookup(NormalizationInterceptor.java:231)
>         at org.apache.directory.server.core.interceptor.InterceptorChain.lookup(InterceptorChain.java:882)
>         at org.apache.directory.server.core.DefaultOperationManager.lookup(DefaultOperationManager.java:270)
>         at org.apache.directory.server.core.DefaultCoreSession.lookup(DefaultCoreSession.java:281)
>         at org.apache.directory.server.configuration.ApacheDS.ensureLdifFileBase(ApacheDS.java:266)
>         at org.apache.directory.server.configuration.ApacheDS.loadLdifs(ApacheDS.java:397)
>         at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:130)
>         at org.apache.directory.server.Service.init(Service.java:86)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)
> [23:46:56] WARN [org.apache.directory.shared.ldap.ldif.LdifReader] - No version information : assuming version: 1
> [23:46:56] WARN [org.apache.directory.server.core.schema.SchemaInterceptor] - The RDN 'unixFilePath=2F686F6D652F72676C2F50726F6A656374732F6C6461702F61706163686564732F61706163686564735F312E352E342F636F6E662F6578616D706C652E6C6F63616C2E6C646966' is not present in the entry
> Though, the partitions seems to be working fine anyways!
> Can this error be really ignored?  or is there a problem somewhere else?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1278) Error while trying to create new partition

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638437#action_12638437 ] 

Emmanuel Lecharny commented on DIRSERVER-1278:
----------------------------------------------

The error you got when starting the server is, well, not exactly normal, but you it's a valid one. You should have only a warning, though.

The idea when you start the server and add a ldif file to be loaded on start, in order to avoid loading it twice, we store it in a special place on the server (ou=loadedLdifFiles,ou=configuration,ou=system).

If this branch does not exist, we create it, but before, the error you got is generated.

I will change it to produce a warning instead, because it's pretty disturbing to get an error when it's not exactly an error.

Thanks for the report.

> Error while trying to create new partition
> ------------------------------------------
>
>                 Key: DIRSERVER-1278
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1278
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>            Reporter: Rui Lopes
>
> We start by creating the top level naming context (aka partition):
> NB: As described at http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html
>     vim conf/server.xml
> ...
>     <partitions>
> ...
>       <jdbmPartition
>             id="example_local"
>             cacheSize="100"
>             suffix="dc=example,dc=local"
>             optimizerEnabled="true"
>             syncOnWrite="true"
>             >
>       </jdbmPartition>
>     </partitions>
> ...
>     <apacheDS ...>
> ...
>         <ldifDirectory>conf/example.local.ldif</ldifDirectory>
> ...
>     </apacheDS>
>     cat<<"EOF">conf/example.local.ldif
> # example.local context entry
> dn: dc=example,dc=local
> dc: example
> objectClass: domain
> description: The context entry for suffix example.local
> EOF
> Restart AD and use Studio to browse the Root DSE.  When we browse it, the following error appears in AD log:
> [23:46:56] ERROR [org.apache.directory.server.configuration.ApacheDS] - Failure while looking up ou=loadedLdifFiles,ou=configuration,ou=system
> org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: Attempt to lookup non-existant entry: ou=loadedLdifFiles,ou=configuration,ou=system
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.assertHasEntry(ExceptionInterceptor.java:581)
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.lookup(ExceptionInterceptor.java:305)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.lookup(DefaultAuthorizationInterceptor.java:434)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.lookup(AciAuthorizationInterceptor.java:788)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authn.AuthenticationInterceptor.lookup(AuthenticationInterceptor.java:310)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.normalization.NormalizationInterceptor.lookup(NormalizationInterceptor.java:231)
>         at org.apache.directory.server.core.interceptor.InterceptorChain.lookup(InterceptorChain.java:882)
>         at org.apache.directory.server.core.DefaultOperationManager.lookup(DefaultOperationManager.java:270)
>         at org.apache.directory.server.core.DefaultCoreSession.lookup(DefaultCoreSession.java:281)
>         at org.apache.directory.server.configuration.ApacheDS.ensureLdifFileBase(ApacheDS.java:266)
>         at org.apache.directory.server.configuration.ApacheDS.loadLdifs(ApacheDS.java:397)
>         at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:130)
>         at org.apache.directory.server.Service.init(Service.java:86)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)
> [23:46:56] WARN [org.apache.directory.shared.ldap.ldif.LdifReader] - No version information : assuming version: 1
> [23:46:56] WARN [org.apache.directory.server.core.schema.SchemaInterceptor] - The RDN 'unixFilePath=2F686F6D652F72676C2F50726F6A656374732F6C6461702F61706163686564732F61706163686564735F312E352E342F636F6E662F6578616D706C652E6C6F63616C2E6C646966' is not present in the entry
> Though, the partitions seems to be working fine anyways!
> Can this error be really ignored?  or is there a problem somewhere else?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1278) Error while trying to create new partition

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1278:
-----------------------------------------

    Fix Version/s: 1.5.5

> Error while trying to create new partition
> ------------------------------------------
>
>                 Key: DIRSERVER-1278
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1278
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>            Reporter: Rui Lopes
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.5
>
>
> We start by creating the top level naming context (aka partition):
> NB: As described at http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html
>     vim conf/server.xml
> ...
>     <partitions>
> ...
>       <jdbmPartition
>             id="example_local"
>             cacheSize="100"
>             suffix="dc=example,dc=local"
>             optimizerEnabled="true"
>             syncOnWrite="true"
>             >
>       </jdbmPartition>
>     </partitions>
> ...
>     <apacheDS ...>
> ...
>         <ldifDirectory>conf/example.local.ldif</ldifDirectory>
> ...
>     </apacheDS>
>     cat<<"EOF">conf/example.local.ldif
> # example.local context entry
> dn: dc=example,dc=local
> dc: example
> objectClass: domain
> description: The context entry for suffix example.local
> EOF
> Restart AD and use Studio to browse the Root DSE.  When we browse it, the following error appears in AD log:
> [23:46:56] ERROR [org.apache.directory.server.configuration.ApacheDS] - Failure while looking up ou=loadedLdifFiles,ou=configuration,ou=system
> org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: Attempt to lookup non-existant entry: ou=loadedLdifFiles,ou=configuration,ou=system
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.assertHasEntry(ExceptionInterceptor.java:581)
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.lookup(ExceptionInterceptor.java:305)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.lookup(DefaultAuthorizationInterceptor.java:434)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.lookup(AciAuthorizationInterceptor.java:788)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authn.AuthenticationInterceptor.lookup(AuthenticationInterceptor.java:310)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.normalization.NormalizationInterceptor.lookup(NormalizationInterceptor.java:231)
>         at org.apache.directory.server.core.interceptor.InterceptorChain.lookup(InterceptorChain.java:882)
>         at org.apache.directory.server.core.DefaultOperationManager.lookup(DefaultOperationManager.java:270)
>         at org.apache.directory.server.core.DefaultCoreSession.lookup(DefaultCoreSession.java:281)
>         at org.apache.directory.server.configuration.ApacheDS.ensureLdifFileBase(ApacheDS.java:266)
>         at org.apache.directory.server.configuration.ApacheDS.loadLdifs(ApacheDS.java:397)
>         at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:130)
>         at org.apache.directory.server.Service.init(Service.java:86)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)
> [23:46:56] WARN [org.apache.directory.shared.ldap.ldif.LdifReader] - No version information : assuming version: 1
> [23:46:56] WARN [org.apache.directory.server.core.schema.SchemaInterceptor] - The RDN 'unixFilePath=2F686F6D652F72676C2F50726F6A656374732F6C6461702F61706163686564732F61706163686564735F312E352E342F636F6E662F6578616D706C652E6C6F63616C2E6C646966' is not present in the entry
> Though, the partitions seems to be working fine anyways!
> Can this error be really ignored?  or is there a problem somewhere else?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRSERVER-1278) Error while trying to create new partition

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-1278.
------------------------------------------

    Resolution: Fixed

Fixed in http://svn.apache.org/viewvc?rev=720070&view=rev

(Will be merged into trunk as soon as we get a MINA 2.0.0-M4 available)

> Error while trying to create new partition
> ------------------------------------------
>
>                 Key: DIRSERVER-1278
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1278
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>            Reporter: Rui Lopes
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.5
>
>
> We start by creating the top level naming context (aka partition):
> NB: As described at http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html
>     vim conf/server.xml
> ...
>     <partitions>
> ...
>       <jdbmPartition
>             id="example_local"
>             cacheSize="100"
>             suffix="dc=example,dc=local"
>             optimizerEnabled="true"
>             syncOnWrite="true"
>             >
>       </jdbmPartition>
>     </partitions>
> ...
>     <apacheDS ...>
> ...
>         <ldifDirectory>conf/example.local.ldif</ldifDirectory>
> ...
>     </apacheDS>
>     cat<<"EOF">conf/example.local.ldif
> # example.local context entry
> dn: dc=example,dc=local
> dc: example
> objectClass: domain
> description: The context entry for suffix example.local
> EOF
> Restart AD and use Studio to browse the Root DSE.  When we browse it, the following error appears in AD log:
> [23:46:56] ERROR [org.apache.directory.server.configuration.ApacheDS] - Failure while looking up ou=loadedLdifFiles,ou=configuration,ou=system
> org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: Attempt to lookup non-existant entry: ou=loadedLdifFiles,ou=configuration,ou=system
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.assertHasEntry(ExceptionInterceptor.java:581)
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.lookup(ExceptionInterceptor.java:305)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.lookup(DefaultAuthorizationInterceptor.java:434)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.lookup(AciAuthorizationInterceptor.java:788)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authn.AuthenticationInterceptor.lookup(AuthenticationInterceptor.java:310)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.normalization.NormalizationInterceptor.lookup(NormalizationInterceptor.java:231)
>         at org.apache.directory.server.core.interceptor.InterceptorChain.lookup(InterceptorChain.java:882)
>         at org.apache.directory.server.core.DefaultOperationManager.lookup(DefaultOperationManager.java:270)
>         at org.apache.directory.server.core.DefaultCoreSession.lookup(DefaultCoreSession.java:281)
>         at org.apache.directory.server.configuration.ApacheDS.ensureLdifFileBase(ApacheDS.java:266)
>         at org.apache.directory.server.configuration.ApacheDS.loadLdifs(ApacheDS.java:397)
>         at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:130)
>         at org.apache.directory.server.Service.init(Service.java:86)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)
> [23:46:56] WARN [org.apache.directory.shared.ldap.ldif.LdifReader] - No version information : assuming version: 1
> [23:46:56] WARN [org.apache.directory.server.core.schema.SchemaInterceptor] - The RDN 'unixFilePath=2F686F6D652F72676C2F50726F6A656374732F6C6461702F61706163686564732F61706163686564735F312E352E342F636F6E662F6578616D706C652E6C6F63616C2E6C646966' is not present in the entry
> Though, the partitions seems to be working fine anyways!
> Can this error be really ignored?  or is there a problem somewhere else?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DIRSERVER-1278) Error while trying to create new partition

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny reassigned DIRSERVER-1278:
--------------------------------------------

    Assignee: Emmanuel Lecharny

> Error while trying to create new partition
> ------------------------------------------
>
>                 Key: DIRSERVER-1278
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1278
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>            Reporter: Rui Lopes
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.5
>
>
> We start by creating the top level naming context (aka partition):
> NB: As described at http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html
>     vim conf/server.xml
> ...
>     <partitions>
> ...
>       <jdbmPartition
>             id="example_local"
>             cacheSize="100"
>             suffix="dc=example,dc=local"
>             optimizerEnabled="true"
>             syncOnWrite="true"
>             >
>       </jdbmPartition>
>     </partitions>
> ...
>     <apacheDS ...>
> ...
>         <ldifDirectory>conf/example.local.ldif</ldifDirectory>
> ...
>     </apacheDS>
>     cat<<"EOF">conf/example.local.ldif
> # example.local context entry
> dn: dc=example,dc=local
> dc: example
> objectClass: domain
> description: The context entry for suffix example.local
> EOF
> Restart AD and use Studio to browse the Root DSE.  When we browse it, the following error appears in AD log:
> [23:46:56] ERROR [org.apache.directory.server.configuration.ApacheDS] - Failure while looking up ou=loadedLdifFiles,ou=configuration,ou=system
> org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: Attempt to lookup non-existant entry: ou=loadedLdifFiles,ou=configuration,ou=system
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.assertHasEntry(ExceptionInterceptor.java:581)
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.lookup(ExceptionInterceptor.java:305)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.lookup(DefaultAuthorizationInterceptor.java:434)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.lookup(AciAuthorizationInterceptor.java:788)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authn.AuthenticationInterceptor.lookup(AuthenticationInterceptor.java:310)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.normalization.NormalizationInterceptor.lookup(NormalizationInterceptor.java:231)
>         at org.apache.directory.server.core.interceptor.InterceptorChain.lookup(InterceptorChain.java:882)
>         at org.apache.directory.server.core.DefaultOperationManager.lookup(DefaultOperationManager.java:270)
>         at org.apache.directory.server.core.DefaultCoreSession.lookup(DefaultCoreSession.java:281)
>         at org.apache.directory.server.configuration.ApacheDS.ensureLdifFileBase(ApacheDS.java:266)
>         at org.apache.directory.server.configuration.ApacheDS.loadLdifs(ApacheDS.java:397)
>         at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:130)
>         at org.apache.directory.server.Service.init(Service.java:86)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)
> [23:46:56] WARN [org.apache.directory.shared.ldap.ldif.LdifReader] - No version information : assuming version: 1
> [23:46:56] WARN [org.apache.directory.server.core.schema.SchemaInterceptor] - The RDN 'unixFilePath=2F686F6D652F72676C2F50726F6A656374732F6C6461702F61706163686564732F61706163686564735F312E352E342F636F6E662F6578616D706C652E6C6F63616C2E6C646966' is not present in the entry
> Though, the partitions seems to be working fine anyways!
> Can this error be really ignored?  or is there a problem somewhere else?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSERVER-1278) Error while trying to create new partition

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-1278.
----------------------------------------


closed

> Error while trying to create new partition
> ------------------------------------------
>
>                 Key: DIRSERVER-1278
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1278
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>            Reporter: Rui Lopes
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.5
>
>
> We start by creating the top level naming context (aka partition):
> NB: As described at http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html
>     vim conf/server.xml
> ...
>     <partitions>
> ...
>       <jdbmPartition
>             id="example_local"
>             cacheSize="100"
>             suffix="dc=example,dc=local"
>             optimizerEnabled="true"
>             syncOnWrite="true"
>             >
>       </jdbmPartition>
>     </partitions>
> ...
>     <apacheDS ...>
> ...
>         <ldifDirectory>conf/example.local.ldif</ldifDirectory>
> ...
>     </apacheDS>
>     cat<<"EOF">conf/example.local.ldif
> # example.local context entry
> dn: dc=example,dc=local
> dc: example
> objectClass: domain
> description: The context entry for suffix example.local
> EOF
> Restart AD and use Studio to browse the Root DSE.  When we browse it, the following error appears in AD log:
> [23:46:56] ERROR [org.apache.directory.server.configuration.ApacheDS] - Failure while looking up ou=loadedLdifFiles,ou=configuration,ou=system
> org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: Attempt to lookup non-existant entry: ou=loadedLdifFiles,ou=configuration,ou=system
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.assertHasEntry(ExceptionInterceptor.java:581)
>         at org.apache.directory.server.core.exception.ExceptionInterceptor.lookup(ExceptionInterceptor.java:305)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.lookup(DefaultAuthorizationInterceptor.java:434)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.lookup(AciAuthorizationInterceptor.java:788)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.authn.AuthenticationInterceptor.lookup(AuthenticationInterceptor.java:310)
>         at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.lookup(InterceptorChain.java:1272)
>         at org.apache.directory.server.core.normalization.NormalizationInterceptor.lookup(NormalizationInterceptor.java:231)
>         at org.apache.directory.server.core.interceptor.InterceptorChain.lookup(InterceptorChain.java:882)
>         at org.apache.directory.server.core.DefaultOperationManager.lookup(DefaultOperationManager.java:270)
>         at org.apache.directory.server.core.DefaultCoreSession.lookup(DefaultCoreSession.java:281)
>         at org.apache.directory.server.configuration.ApacheDS.ensureLdifFileBase(ApacheDS.java:266)
>         at org.apache.directory.server.configuration.ApacheDS.loadLdifs(ApacheDS.java:397)
>         at org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:130)
>         at org.apache.directory.server.Service.init(Service.java:86)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)
> [23:46:56] WARN [org.apache.directory.shared.ldap.ldif.LdifReader] - No version information : assuming version: 1
> [23:46:56] WARN [org.apache.directory.server.core.schema.SchemaInterceptor] - The RDN 'unixFilePath=2F686F6D652F72676C2F50726F6A656374732F6C6461702F61706163686564732F61706163686564735F312E352E342F636F6E662F6578616D706C652E6C6F63616C2E6C646966' is not present in the entry
> Though, the partitions seems to be working fine anyways!
> Can this error be really ignored?  or is there a problem somewhere else?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.