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.