Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2249

ApacheDS fails to start after upgrading to 2.0.0-M24

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-M24
    • None
    • upgrade
    • None
    • windows 10

    Description

      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)

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulqing paul qing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: