directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: trying to create a partition without indexes
Date Tue, 16 Nov 2010 03:09:53 GMT
Thanks Antoine for reporting this, fixed in the trunk (rev 1035519)
On Tue, Nov 16, 2010 at 7:55 AM, Antoine Levy-Lambert <antoine@gmx.de> wrote:
> 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.
>
>
>



-- 
Kiran Ayyagari

Mime
View raw message