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

ApacheDS crashes after partition is added

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.0.0-M21
    • None
    • jdbm
    • None

    Description

      After I tried to add my partition, the server crashes after trying to generate the cache for the partition:

      Log

      [12:50:31] INFO [org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex] - Setting CacheRecondManager's cache size to 100
      [12:50:31] INFO [org.apache.directory.server.core.api.CacheService] - fetching the cache named alias
      [12:50:31] INFO [org.apache.directory.server.core.api.CacheService] - fetching the cache named piar
      [12:50:31] INFO [org.apache.directory.server.core.api.CacheService] - fetching the cache named entryDn
      [12:50:31] INFO [org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition] - Setting CacheRecondManager's cache size to 100
      [12:50:31] INFO [org.apache.directory.server.core.api.CacheService] - fetching the cache named cosday
      [12:50:31] INFO [org.apache.directory.server.core.api.CacheService] - No cache with name cosday exists, creating one
      [12:50:31] 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:1813)
      at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1250)
      at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:318)
      at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:182)
      at org.apache.directory.server.UberjarMain.start(UberjarMain.java:136)
      at org.apache.directory.server.UberjarMain.main(UberjarMain.java:76)
      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:787)
      at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:211)
      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:2541)
      at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.lookup(AbstractBTreePartition.java:1167)
      at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:249)
      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:2518)
      ... 12 more
      [12:50:31] INFO [org.apache.directory.server.UberjarMain] - Stopping the service.
      [12:50:31] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the service.
      java.lang.NullPointerException
      at org.apache.directory.server.ApacheDsService.stop(ApacheDsService.java:577)
      at org.apache.directory.server.UberjarMain.stop(UberjarMain.java:155)
      at org.apache.directory.server.UberjarMain.start(UberjarMain.java:143)
      at org.apache.directory.server.UberjarMain.main(UberjarMain.java:76)

      Attachments

        1. partition-plumber.jar
          17.98 MB
          Emmanuel L├ęcharny

        Activity

          People

            Unassigned Unassigned
            LiaraAlis Alexander Pankow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: