directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject trying to create a partition without indexes
Date Tue, 16 Nov 2010 02:25:45 GMT
Hi,

I just tried to create a partition without indexes in trunk.

After having stopped the ApacheDS, it does not want to restart any more
(see below).

I suggest to just change the
\server-config\src\main\java\org\apache\directory\server\config\beans\PartitionBean.java
class to have this line

    private List<IndexBean> indexes = new ArrayList<IndexBean>();

instead of

    private List<IndexBean> indexes;

Regards,
Antoine


Starting ApacheDS instance 'default'...

[20:43:41] WARN
[org.apache.directory.shared.ldap.schema.registries.DefaultSchemaObjectRegistry]
- ERR_04271 ATTRIBUTE_TYPE with name ads-passwordPolicy already registered!

java.lang.NullPointerException
    at
org.apache.directory.server.config.ConfigBuilder.createJdbmIndexes(ConfigBuilder.java:950)
    at
org.apache.directory.server.config.ConfigBuilder.createJdbmPartition(ConfigBuilder.java:996)
    at
org.apache.directory.server.config.ConfigBuilder.createPartition(ConfigBuilder.java:1045)
    at
org.apache.directory.server.config.ConfigBuilder.createPartitions(ConfigBuilder.java:1071)
    at
org.apache.directory.server.config.ConfigBuilder.createDirectoryService(ConfigBuilder.java:1113)
    at
org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:270)
    at
org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:165)
    at org.apache.directory.server.UberjarMain.main(UberjarMain.java:58)
[20:43:42] ERROR [org.apache.directory.server.UberjarMain] - Failed to
start the service.



Mime
View raw message