[ 
https://issues.apache.org/jira/browse/DIRSERVER-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny updated DIRSERVER-2249:
-----------------------------------------
    Component/s: upgrade

> ApacheDS fails to start after upgrading to 2.0.0-M24
> ----------------------------------------------------
>
>                 Key: DIRSERVER-2249
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2249
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: upgrade
>    Affects Versions: 2.0.0-M24
>         Environment: windows 10
>            Reporter: paul qing
>            Priority: Major
>
> replace the lib's jar and bin's files and run bat file to start apacheds as 
> following:
> C:\apacheds-2.0.0-M20\bin>apacheds.bat
> Starting ApacheDS instance 'default'...
> [12:09:07] ERROR [org.apache.directory.server.UberjarMain] - Failed to start 
> the service.
> org.apache.directory.api.ldap.model.exception.LdapOtherException
>         at 
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:94)
>         at 
> org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1822)
>         at 
> org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1251)
>         at 
> org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:364)
>         at 
> org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:197)
>         at 
> org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:153)
>         at org.apache.directory.server.UberjarMain.start(UberjarMain.java:151)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:77)
> Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException
>         at 
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:94)
>         at 
> org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:809)
>         at 
> org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:233)
>         at 
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89)
>         ... 7 more
> Caused by: org.apache.directory.api.ldap.model.exception.LdapException
>         at 
> org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.getEntryId(AbstractBTreePartition.java:2755)
>         at 
> org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.lookup(AbstractBTreePartition.java:1381)
>         at 
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:495)
>         at 
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89)
>         ... 10 more
> Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException
>         at 
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.get(JdbmTable.java:371)
>         at 
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:360)
>         at 
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:58)
>         at 
> org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.getEntryId(AbstractBTreePartition.java:2732)
>         ... 13 more
> [12:09:07] ERROR [org.apache.directory.server.UberjarMain] - Failed to start 
> the service.
> java.lang.NullPointerException
>         at 
> org.apache.directory.server.ApacheDsService.stop(ApacheDsService.java:635)
>         at org.apache.directory.server.UberjarMain.stop(UberjarMain.java:219)
>         at org.apache.directory.server.UberjarMain.start(UberjarMain.java:158)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:77)
>  
> added parameter as apacheds.bat default repair in the start script. the error 
> as following:
> C:\apacheds-2.0.0-M20\bin>apacheds.bat default repair
> Starting ApacheDS instance 'default'...
> Trying to repair the following data :../instances/default
> Starting the service.
> [12:19:43] ERROR [org.apache.directory.server.UberjarMain] - Failed to start 
> the service.
> org.apache.directory.api.ldap.model.exception.LdapOtherException
>         at 
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:94)
>         at 
> org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1822)
>         at 
> org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1251)
>         at 
> org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:364)
>         at 
> org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:197)
>         at 
> org.apache.directory.server.UberjarMain.repair(UberjarMain.java:182)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:96)
> Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException
>         at 
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:94)
>         at 
> org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:809)
>         at 
> org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:233)
>         at 
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89)
>         ... 6 more
> Caused by: org.apache.directory.api.ldap.model.exception.LdapException
>         at 
> org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.getEntryId(AbstractBTreePartition.java:2755)
>         at 
> org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.lookup(AbstractBTreePartition.java:1381)
>         at 
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:495)
>         at 
> org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89)
>         ... 9 more
> Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException
>         at 
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.get(JdbmTable.java:371)
>         at 
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:360)
>         at 
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:58)
>         at 
> org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.getEntryId(AbstractBTreePartition.java:2732)
>         ... 12 more
> [12:19:43] ERROR [org.apache.directory.server.UberjarMain] - Failed to start 
> the service.
> java.lang.NullPointerException
>         at 
> org.apache.directory.server.ApacheDsService.stop(ApacheDsService.java:635)
>         at org.apache.directory.server.UberjarMain.stop(UberjarMain.java:219)
>         at 
> org.apache.directory.server.UberjarMain.repair(UberjarMain.java:189)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:96)
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to