13 Dec, 2013

1 commit

  • 
    Most of the replace was done by global search replace from Eclipse via regular expressions.
    Individual files had incorrect headers or badly formatted ones, so some of them have been done manually by replacing the content between CDDL HEADER START and CDDL HEADER END.
    Some headers were quoting "trunk/opends/resource/legal-notices/CDDLv1_0.txt" while it should have been "legal-notices/CDDLv1_0.txt".
    
    
    Removed:
    - resource/legal-notices/OpenDS.LICENSE
    
    The following required manual changes:
    - build.xml
    - ext/checkstyle/opendj.sourceheader
    - resource/admin/java-utilities.xsl
    - src/build-tools/org/opends/build/tools/ProcessFilesForPackages.java
    - src/build-tools/windows/*
    - src/pkg/opends-dsml-gateway_proto.py
    - src/pkg/opends_proto.py
    - src/server/org/opends/server/util/ServerConstants.java
    - tests/staf-tests/functional-tests/shared/data/aci/aci_targattrfilter/add_aci18.ldif
    - tests/staf-tests/build.bat
    
    An incorrect header mentionning "exclude" instead of "include" in the copyright header existed for: tests/staf-tests/functional-tests/testcases/backends/backup/**/*
    
    Some files have no copyright headers at all. I did not update them. Here is some of them (more exist):
    - tests/staf-tests/functional-tests/shared/data/core/psearch/**/*.ref
    - tests/staf-tests/functional-tests/shared/data/core/psearch/**/delete.ldif
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9984 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

13 Sep, 2013

1 commit


31 Jul, 2013

1 commit

  • - Fixed the doc's section (doc files are no longer duplicate)(OPENDJ-1032)
    - Target no longer fails when build path contains spaces (OPENDJ-1063)
    - Out of concern for clarity, added docFiles to resource/rpm.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9324 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     

26 Jul, 2013

1 commit


08 Jul, 2013

1 commit


18 Jun, 2013

1 commit


29 May, 2013

1 commit


28 May, 2013

1 commit


27 May, 2013

1 commit


16 May, 2013

1 commit


07 May, 2013

1 commit


08 Apr, 2013

1 commit

  • Resolve race condition in Windows Services when stopping the server.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8705 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

18 Sep, 2012

1 commit


17 Sep, 2012

1 commit


19 Jun, 2012

1 commit


13 Jun, 2012

1 commit


02 Nov, 2011

1 commit


20 Oct, 2011

1 commit


19 May, 2011

1 commit


21 Feb, 2011

1 commit


30 Sep, 2010

1 commit


25 Jun, 2010

1 commit


27 May, 2010

1 commit

  • The fix consists on waiting in the service code to the start-ds.bat call to finish (the re-entrant one). This avoids having a race condition problem locking the file (as can happen today).
    There is a new environment variable that can be configured (OPENDS_WINDOWS_SERVICE_STARTDS_WAIT). The default value is 300000 milliseconds (5 minutes). This is the maximum time in milliseconds the service code will wait for the server to start before checking directly its status.
    Also update setup.bat and uninstall.bat to return an error code when called in CLI mode.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6408 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludovicp
     

26 Jan, 2010

1 commit


18 Jan, 2010

1 commit

  • Improve the code of windows service to poll the status of the server (whether is running or not).
    Improve some of the messages associated with the events that are sent to the windows service log.
    Improve the code that is in charge of starting the service (and the server) to help identify cases where the server startup is correctly launched but the startup itself fails (because for instance a port of the server is already in use).
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@6356 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     

20 Mar, 2009

1 commit


16 Jan, 2009

1 commit


11 Nov, 2008

1 commit


07 Nov, 2008

1 commit

  • …ing it configurable).
    
    The fix increases the number of tries used to figure out if the server is started or not.  This is required in particular after reboot since the system can be really loaded.
    
    The user can modify the default tries value (100 tries with an interval of 5 seconds between tries) by setting the value of the OPENDS_WINDOWS_SERVICE_START_NTRIES  environment variable (it must be a SYSTEM environment variable in order to be taken into account).
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@4592 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     

21 Oct, 2008

1 commit


05 Jul, 2008

1 commit


26 May, 2008

1 commit

  • Changes by file:
    
    . resource/admin/example-plugin/ExamplePlugin.java
      - support for messages
      - fix for PluginResult.Startup refactoring
    
    . resource/admin/example-plugin/example_plugin.properties
      - 3 messages used in the example plugin (english/default)
    
    . resource/admin/example-plugin/example_plugin_fr.properties
      - 3 messages used in the example plugin (french)
    
    . resource/admin/example-plugin/build.xml
      - automatic generation of messages from properties files located in
        resource/messages while keeping package name.
        (eg. resource/messages/my/example/example_plugin.properties will
        generate a message class with package name "my.example")
    
    . resource/Messages.java.stub
      - forced underlying properties files to be located in /messages within
        jars file (eg MY_JAR_FILE:/messages/example_plugin.properties)
      - support for messages available from extensions' classloaders
    
    . src/messages/src/org/opends/messages/Message.java
      - typo in javadoc
    
    . build.xml
      - added message template used by generator in the build-tools.jar
      - added the "resource/messages" directory at the root of the example
        plugin
      - added example properties files in the example plugin zipfile
    
    . src/build-tools/org/opends/build/tools/GenerateMessageFile.java
      - stopped assuming messages are targeted in package name
        org.opends.messages
      - template for message class generation now retrieved from the
        build-tools.jar when generating messages for extensions
      - for user messages, set destination files automatically based on the
        source full filename and apply basic pattern
        (eg. source=resource/messages/my/example/example_plugin.properties
        sets destination to
        src-generated/my/example/ExamplePluginMessage.java)
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@4293 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ctissot
     

12 Feb, 2008

1 commit


15 Jan, 2008

1 commit


14 Jan, 2008

1 commit


08 Oct, 2007

1 commit


17 Sep, 2007

1 commit

  • that is part of the Mozilla LDAP SDK for Java.  Also, use this source stub to
    create the org.opends.server.protocols.internal.InternalMozillaLDAPSocketFactory
    class which implements that interface and allows users to more easily use the
    Mozilla LDAP SDK for Java to invoke internal operations in the server.
    
    Note that the source stub is used only to allow our code to compile.  Anyone
    that wants to use the Mozilla LDAP SDK for Java to perform internal operations
    will need to supply the full library containing the LDAP SDK for Java.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3089 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

13 Sep, 2007

1 commit


11 Sep, 2007

1 commit

  • improvements, including:
    
    - Replace occurrences of StringBuffer with StringBuilder.  As of Java 5,
      StringBuilder is almost always a better choice than StringBuffer because it
      provides all the same methods but doesn't have the synchronization overhead.
    
    - Update the JE backend DN2URI class (which is responsible for keeping track of
      smart referrals in the database) to keep track of whether there are any
      referrals in the underlying database so that it doesn't go to the DB if it
      can be certain that there aren't any referrals to get.
    
    - Update the JE backend ImportJob class to provide a simple cache for parent ID
      lookups so that it can avoid the need to go to the underlying DB to get the
      entry ID for a parent entry if it's contained in the cache.
    
    - Update the salted password storage scheme variants so that they use an
      instance of java.util.Random rather than java.security.SecureRandom to
      generate the salt.  There really isn't a need for a cryptographic-quality
      random number generator for salt generation, and the java.util.Random
      implementation is much faster than the java.security.SecureRandom
      implementation.
    
    - Update the DN class to return a reference to the precomputed NULL_DN instead
      of creating a new DN with zero RDN components when decoding DNs from strings
      or octet strings.  Also, use LinkedList rather than ArrayList for temporary
      storage of RDN values to avoid the hit of allocating memory that we may not
      need.
    
    
    - Update the Entry class to cache the result of LDIFImportConfig.typesOnly(),
      which has been observed to slightly improve MakeLDIF performance.
    
    - If Java 6 is available, then prefer using it to set file permissions over
      Runtime.exec() on UNIX systems.  Even though it's potentially less
      fine-grained than using exec to call chmod, it's faster and safer to use the
      Java methods if they're available.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3006 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

30 Aug, 2007

1 commit