directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: ApacheDS fails to start after unclean shutdown
Date Fri, 27 Dec 2013 16:42:41 GMT
I think this was already fixed in the trunk.


On Fri, Dec 27, 2013 at 9:58 PM, Marc Boorshtein <mboorshtein@gmail.com>wrote:

> If I start and stop ApacheDS cleanly then I have no issues.  But if
> ApacheDS is shutdown abruptly (ie the jvm crashes) I can't re-start it with
> the following Exception:
>
> Exception in thread "main"
> org.apache.directory.api.ldap.model.exception.LdapOtherException:
> java.lang.Integer cannot be cast to java.lang.Long
>  at
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:84)
> at
> org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1820)
>  at
> org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1248)
> at com.tremolosecurity.server.MyVDServer.startServer(MyVDServer.java:269)
>  at com.tremolosecurity.server.Server.startMyVD(Server.java:376)
> at com.tremolosecurity.server.Server.startServices(Server.java:357)
>  at com.tremolosecurity.server.Server.main(Server.java:585)
> Caused by:
> org.apache.directory.api.ldap.model.exception.LdapOtherException:
> java.lang.Integer cannot be cast to java.lang.Long
>  at
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:84)
> at
> org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:841)
>  at
> org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:218)
> at
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:79)
>  ... 6 more
> Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast
> to java.lang.Long
> at
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.<init>(JdbmTable.java:166)
>  at
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.initTables(JdbmIndex.java:219)
> at
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.init(JdbmIndex.java:170)
>  at
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.convertAndInit(JdbmPartition.java:453)
> at
> org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.setupSystemIndices(AbstractBTreePartition.java:353)
>  at
> org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.doInit(AbstractBTreePartition.java:519)
> at
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:153)
>  at
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:79)
> ... 9 more
>
> Should I open a bug?
>
> Thanks
> Marc
>



-- 
Kiran Ayyagari
http://keydap.com

Mime
View raw message