Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1725

attributes replication not working when administrativeRole is set

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-RC1
    • Component/s: None
    • Labels:

      Description

      When administrativeRole is added to DN, no attributes in that DN will replicate.

        Activity

        Hide
        Emmanuel Lecharny added a comment -

        Postponed to M9

        Show
        Emmanuel Lecharny added a comment - Postponed to M9
        Hide
        Kiran Ayyagari added a comment -

        Can you try with the latest build, I have addressed this issue in the recent fixes.

        Show
        Kiran Ayyagari added a comment - Can you try with the latest build, I have addressed this issue in the recent fixes.
        Hide
        houmles added a comment -

        Sorry for late reply. I checkout latest trunk but I am unable to test it because ADS won't start on second attempt. Only first run is successful. I didn't even login into server.

        Running ApacheDS - default...
        wrapper | --> Wrapper Started as Console
        wrapper | Launching a JVM...
        jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
        jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
        jvm 1 |
        jvm 1 | [13:55:03] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to start the service.
        jvm 1 | org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists!
        jvm 1 | at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:81)
        jvm 1 | at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1846)
        jvm 1 | at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1269)
        jvm 1 | at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:308)
        jvm 1 | at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:176)
        jvm 1 | at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
        jvm 1 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
        jvm 1 | Caused by: org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists!
        jvm 1 | at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:81)
        jvm 1 | at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:872)
        jvm 1 | at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:225)
        jvm 1 | at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:76)
        jvm 1 | ... 6 more
        jvm 1 | Caused by: org.apache.directory.shared.ldap.model.exception.LdapEntryAlreadyExistsException: ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists!
        jvm 1 | at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.add(AbstractBTreePartition.java:599)
        jvm 1 | at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:228)
        jvm 1 | at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:76)
        jvm 1 | ... 9 more
        wrapper | <-- Wrapper Stopped

        Show
        houmles added a comment - Sorry for late reply. I checkout latest trunk but I am unable to test it because ADS won't start on second attempt. Only first run is successful. I didn't even login into server. Running ApacheDS - default... wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. jvm 1 | jvm 1 | [13:55:03] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to start the service. jvm 1 | org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists! jvm 1 | at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:81) jvm 1 | at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1846) jvm 1 | at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1269) jvm 1 | at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:308) jvm 1 | at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:176) jvm 1 | at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72) jvm 1 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) jvm 1 | Caused by: org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists! jvm 1 | at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:81) jvm 1 | at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:872) jvm 1 | at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:225) jvm 1 | at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:76) jvm 1 | ... 6 more jvm 1 | Caused by: org.apache.directory.shared.ldap.model.exception.LdapEntryAlreadyExistsException: ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists! jvm 1 | at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.add(AbstractBTreePartition.java:599) jvm 1 | at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:228) jvm 1 | at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:76) jvm 1 | ... 9 more wrapper | <-- Wrapper Stopped
        Hide
        Emmanuel Lecharny added a comment -

        Damn, this is a bug we introduced yesterday, and fixed this morning...

        You should re-build the server using the latest trunk.

        Sorry for the inconvenience :/

        Show
        Emmanuel Lecharny added a comment - Damn, this is a bug we introduced yesterday, and fixed this morning... You should re-build the server using the latest trunk. Sorry for the inconvenience :/
        Hide
        Pierre-Arnaud Marcelot added a comment -

        My bad, that's a bug I introduced in trunk yesterday.
        Sorry for the inconvenience.

        I fixed it a few minutes ago.
        What revision were you using when rebuilding your trunk?

        Show
        Pierre-Arnaud Marcelot added a comment - My bad, that's a bug I introduced in trunk yesterday. Sorry for the inconvenience. I fixed it a few minutes ago. What revision were you using when rebuilding your trunk?
        Hide
        Pierre-Arnaud Marcelot added a comment -

        It was fixed at revision 1401598.

        http://svn.apache.org/viewvc?rev=1401598&view=rev

        Show
        Pierre-Arnaud Marcelot added a comment - It was fixed at revision 1401598. http://svn.apache.org/viewvc?rev=1401598&view=rev
        Hide
        houmles added a comment -

        OK, I can confirm this issue is solved in latest trunk. Thanks!

        Show
        houmles added a comment - OK, I can confirm this issue is solved in latest trunk. Thanks!

          People

          • Assignee:
            Unassigned
            Reporter:
            houmles
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:

              Development