04 Feb, 2014

5 commits


03 Feb, 2014

3 commits


31 Jan, 2014

4 commits


30 Jan, 2014

2 commits

  • Migrate I18n and logging support to i18n framework and SLF4J
    
    * Update OpendDJLoggerAdapter class
    ** Adapt to methods change from DebugTracer class
    ** Use of LoggingCategoryNames to convert from class name
     to simplified category name (eg, CORE)
    
    * Move adapter and factory to org.opends.server.logger
     package, to share same package than openDJ logger classes
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10220 41b1ffd8-f28e-4786-ab96-9950f0a78031
    nicolas.capponi@forgerock.com
     
  • To do so, one will need to add an auxiliary objectclass in the password policy subentry and the mandatory ds-cfg-password-validator attribute (value is the DN of the validator in cn=config DIT).
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10215 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

29 Jan, 2014

4 commits


28 Jan, 2014

4 commits

  • 
    replication*.properties:
    Added exception stacktraces to NOTICE_READER_EXCEPTION_53.
    
    ServerReader.java:
    In run(), logged the stacktrace when calling logError(). Removed redundant call to logException() which logged to debug logger.
    
    
    Session.java:
    Extracted method read().
    
    
    StaticUtils.java:
    In stackTraceToSingleLineString(), when this is not a debug build, added the exception type at the start of the message.
    
    StaticUtilsTest.java: ADDED
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10202 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Code review: Matthew Swift
    
    Caused by r10049.
    Problem is down to the initialization sequence:
    1. thread 1 - MultimasterReplication.initializeSynchronizationProvider()
    1.1. it creates the ReplicationServerListener
    1.1.1. the ReplicationServerListener in turn creates the ReplicationServer
    1.1.1.1. the ReplicationServer in turn creates the ChangelogDB
    1.1.1.1.1. the ChangelogDB in turn creates the ChangeNumberIndexer thread and STARTs it
    1.1.1.1.1. the ChangelogDB starts the ChangeNumberIndexer thread
    1.2. it proceeds with creating the LDAPReplicationDomain objects one by one
    2. thread 2 - ChangeNumberIndexer.run()
    2.1. it calls ChangeNumberIndexer.initialize()
    2.1.1. ChangeNumberIndexer.initialize() calls MultimasterReplication.isECLEnabledDomain(baseDN)
    
    Steps 1.2. and 2.1.1. are running concurrently.
    If 2.1.1. is run before 1.2. is completed, In ChangeNumberIndexer.initialize():
    1) MultimasterReplication.isECLEnabledDomain(baseDN) returns false, hence a cursor to the relevant replica DBs is not created
    2) then the call to nextChangeForInsertDBCursor.getRecord() returns null, later throwing a NullPointerException because the ChangeNumberIndexer thread is in an illegal state: it was expecting to find an UpdateMsg with the correct CSN stamped on it.
    
    
    
    MultimasterReplication.java:
    Added State enum + state instance member to tell whether MultimasterReplication is ready for work.
    Removed isRegistered instance member superseded by state instance member.
    In isECLEnabledDomain(), completeSynchronizationProvider() and finalizeSynchronizationProvider(), deal with thread waits.
    
    DomainFakeCfg.java:
    Implemented toString().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10200 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@10198 41b1ffd8-f28e-4786-ab96-9950f0a78031
    csovant
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@10196 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

27 Jan, 2014

4 commits


25 Jan, 2014

4 commits


24 Jan, 2014

5 commits


23 Jan, 2014

4 commits


22 Jan, 2014

1 commit

  • … compared to opendj-ldap-sdk so they are documented.
    
    pom.xml:
    Now depends on forgerock-parent 1.2.1-SNAPSHOT to inherit clirr profile.
    
    opendj-core/pom.xml:
    Added clirr-maven-plugin to the build and report plugins due to the use of <comparisonArtifacts> instead of <comparisonVersion>.
    
    opendj-core/clirr-ignored-api-changes.xml:
    Added to trigger clirr checks + ignore and document changes compared to opendj-ldap-sdk.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10169 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac