15 Jul, 2013

1 commit


27 Jun, 2013

1 commit


26 Jun, 2013

1 commit


25 Jun, 2013

1 commit


20 Jun, 2013

2 commits

  • … OpenDJ 2.4.6 to OpenDJ 2.6.0
    
    * add upgrade task which notifies the user that they must rebuild the ds-sync-hist ordering index when upgrading from 2.5.0-Xpress1.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9016 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • The issue was triggered by the mix of AssuredReplication and bad network conditions, which resulted in a deadlock between 2 RS, as both were blocked on writing to the TCP socket and not reading (because waiting on the write lock).
    The solution (more of a workaround) is to have another thread for sending data to the socket and have the reader and writer posting data to send to a queue that this new thread is polling.
    There are still potential deadlocks but they will occur much later, if the sendQueue gets full.  The code needs more work post 2.6 to be fully non blocking, but the changes are enough for now to resolve the customer deadlock case.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9015 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

17 Jun, 2013

1 commit


13 Jun, 2013

1 commit


11 Jun, 2013

1 commit

  • As suggested in CR, a new upgrade task has been created 'Rename SNMP security config file'. This task is launched if the old SNMP config file
    actually exists in the config/snmp/security.
    The task renames the file with the new opendj name.
    
    NOTA : The config/snmp/security/opends-snmp.security has been changed in 2.5.0.7466 and the community name as well. ( Cf. Matt's comment in CR). 
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8988 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     

10 Jun, 2013

1 commit


07 Jun, 2013

1 commit

  • Back a few years ago, when we did the SVR4 package, we split the schema into read-only (Install) and writable (Instance).
    With the template model in 2.6, the whole schema is under config, and we should never edit/change the one in the template.
    So, I've removed all code related to the 2 locations for schema, reverted some I10N messages to their previous versions, and tidy up code and tests.
    All unit-tests are passing.
    And it's also possible to change the instance.loc and run setup and have a fully functioning server :-)
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8978 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

05 Jun, 2013

1 commit


03 Jun, 2013

1 commit

  • - The upgrade context is now set in the CLI.
    - The upgrade context contains now the callback handler
    which simplify all the function (removed all calls to callbackhandler, functions just need the context at this point).
    - The context contains the CLI user selected options
    which simplify the code, removed the CheckCLIUserOption, the task have just to check the context for those parameters.
    - Removed the useless VerificationCallback.java
    - Added a TaskType in UpgradeTask.java.
    - Added function verifyTaskType in UpgradeTasks.java which verify user selected options are correct.
    - Modified tools.properties message numbers
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8951 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     

27 May, 2013

1 commit


23 May, 2013

1 commit

  • OPENDJ-914 Upgrade should add Based HTTP Access Logger to config.ldif
    - HTTP connection handler and the based HTTP access logger are now added to upgrade.
    - The http-config.json is added to the config file during upgrade.
    - Simplified UpgradeTasks.java
    - Added new messages.
    - Fixed javadoc for unit test.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8895 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     

22 May, 2013

1 commit

  • 
    Protected the HTTP Connection Handler against a failing initialization: after two consecutive startup failures, the HTTP connection handler will be disabled, errors will be logged and alerts will be output.
    
    
    HTTPConnectionHandler.java:
    Added instance member enabled to decouple the enable/disable state from the config.
    Implemented getAlerts() method.
    In startHttpServer(), moved the try / catch block and the call to notify() to the run() method.
    In run(), handle failing initialization.
    In stopHttpServer(), added a null check in case of failed intitialization.
    Extracted method cleanUpHttpServer().
    
    ServerConstants.java:
    Added alerts for HTTP connection handler.
    
    protocol*.properties:
    Modified the name of the LDAP specific properties to be more generic.
    
    LDAPConnectionHandler.java
    Consequence of the change to protocol.properties.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8891 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

21 May, 2013

1 commit

  • OPENDJ-858 (CR-1702) Add stats tracking to HTTP client connections
    
    
    
    In HTTP access log, changed the name of the non standard "datetime" field to "x-datetime".
    Added the "x-etime" field that outputs as a number.
    Added validation for the log format that outputs error messages.
    
    
    FileBasedHTTPAccessLogPublisherConfiguration.xml, FileBasedHTTPAccessLogPublisherConfiguration.properties:
    Renamed the "datetime" field to "x-datetime" + added the "x-etime" field.
    Improved the description of the ds-cfg-log-format.
    
    TextHTTPAccessLogPublisher.java, config.properties:
    Extracted constants for all supported field names.
    Added ALL_SUPPORTED_FIELDS constant.
    Changed logFormatFields instance member from String[] to List<String>.
    Added validateLogFormat() which can output new error messages and called it from applyConfigurationChange() and initializeLogPublisher().
    Added subtract().
    
    HTTPClientConnection.java, HTTPRequestInfo.java:
    Added instance member totalProcessingTime.
    In sendResponse(), added to the totalProcessingTime + extracted method getProcessingTime().
    Added getTotalProcessingTime().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8885 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

15 May, 2013

1 commit


14 May, 2013

1 commit


07 May, 2013

1 commit


06 May, 2013

2 commits


03 May, 2013

1 commit

  • 
    
    Implemented the HTTP access logger by taking inspiration from other loggers.
    Configured the new logger everywhere other loggers are configured.
    Logged the HTTP request in several places to cover all cases (happy paths, errors, etc.).
    
    
    
    config.ldif, 02-config.ldif, HTTPAccessLogPublisherConfiguration.xml, FileBasedHTTPAccessLogPublisherConfiguration.xml, HTTPAccessLogPublisherCfgDefn.properties, FileBasedHTTPAccessLogPublisherCfgDefn.properties: ADDED
    Added 2 new objectClasses HTTPAccessLogPublisherConfiguration and FileBasedHTTPAccessLogPublisherConfiguration.
    
    config.properties:
    Added new error messages for the HTTP access logger.
    
    HTTPAccessLogger.java, HTTPAccessLogPublisher.java, TextHTTPAccessLogPublisher.java, HTTPRequestInfo.java: ADDED
    HTTPRequestInfo.log() prevents double logging.
    
    CollectClientConnectionsFilter.java:
    Logged the request info when HttpServletResponse.setStatus(), sendAuthenticationFailure() and onFailure() are called.
    Pushed more data to the HTTPRequestContext + switched to use the more specific HttpServletRequest/HttpServletResponse
    
    SdkConnectionAdapter.java:
    Logged the request info when close() is called.
    
    LoggerConfigManager.java, TestCaseUtils.java:
    Configured the HTTP access logger.
    
    InProcessServerController.java: TO BE REMOVED (by Matt on the native packaging branch)
    
    
    
    Sample log:
    localhost bjensen [03/May/2013:10:14:54 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 500 "curl/7.27.0"
    localhost bjensen [03/May/2013:10:15:05 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 200 "curl/7.27.0"
    localhost  [03/May/2013:10:15:14 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 200 "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0"
    localhost  [03/May/2013:10:16:40 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 401 "curl/7.27.0"
    localhost  [03/May/2013:10:16:50 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 200 "curl/7.27.0"
    localhost  [03/May/2013:10:16:51 +0200] "GET /favicon.ico/null HTTP/1.1" 404 "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0"
    localhost  [03/May/2013:10:17:10 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 200 "curl/7.27.0"
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8832 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

24 Apr, 2013

1 commit

  • Tons of simplification of code, fix of typos, transformed comments to block.
    In ReplicationDomain, changed synchronization of Map with a concurrentHashMap.
    Fixed an error message in LDAPReplicationDomain
    Removed mods from error message on Assured replication ack timeout (could be too large).
    Added a log message on critical error (when reading change from RS db).
    Removed some unused code.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8797 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

15 Apr, 2013

1 commit


09 Apr, 2013

1 commit


28 Mar, 2013

1 commit

  • Implemented async search operation.
    Added support for canceling tasks.
    
    SdkConnectionAdapter.java: ADDED
    
    CollectClientConnectionsFilter.java:
    Hooked the async implementation instead of the synchronous InternalClientConnection.
    
    HTTPClientConnection.java:
    Implemented sendResponse(), sendSearchEntry(), sendSearchReference(), disconnect(), getOperationsInProgress(), getOperationInProgress(), removeOperationInProgress(), cancelOperation(), cancelAllOperations(), cancelAllOperationsExcept(), getNumberOfOperations().
    Added addOperationInProgress() and isConnectionValid().
    
    procotol*.properties:
    Renamed MILD_WARN_LDAP_CLIENT_DISCONNECT_IN_PROGRESS_166 to MILD_WARN_CLIENT_DISCONNECT_IN_PROGRESS_166.
    Removed INFO_HTTP_CONNHANDLER_STARTTLS_NOT_SUPPORTED_1515.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8665 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

26 Mar, 2013

1 commit


20 Mar, 2013

1 commit

  • Added the HTTPConnnectionHandler implemented using Grizzly.
    Added support for all configuration similar to the LDAPConnectionHandler.
    Missing support for ds-cfg-keep-stats and ds-cfg-num-request-handlers.
    
    
    config.ldif, 02-config.ldif:
    Added new entry for HTTP connection handler + defaults.
    
    HTTPConnectionHandlerCfgDefn.properties, HTTPConnectionHandlerConfiguration.xml: ADDED
    
    LDAPConnectionHandlerConfiguration.xml:
    Moved properties common to HTTPConnectionHandlerConfiguration.xml to Package.xml .
    
    protocol*.properties:
    Merged protocol messages between LDAP, HTTP and JMX. Made them non LDAP specific.
    Added 2 new protocol messages for HTTP.
    
    
    CollectClientConnectionsFilter.java, HTTPClientConnection.java, HTTPConnectionHandler.java, package-info.java: ADDED
    
    JmxClientConnection.java, JmxConnectionHandler.java, LDAPClientConnection.java:
    Used common protocol messages.
    
    LDAPConnectionHandler.java
    Used common protocol messages.
    Extracted method configureSSL()
    Simplified the code in getEnabledSSLCipherSuites() and getEnabledSSLProtocols() and protected against a multi threaded change ofg the SSL engine by using a local copy.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8613 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

07 Mar, 2013

1 commit

  • …f the user for easier analysis. 
    
    Removed the bindDN from several error messages, covering simple bind and SASL bind.
    
    core*.properties:
    Updated relevant error messages + the places where they are used in the java code.
    
    TextAccessLogPublisher.java:
    In logBindResponse(), log the bindDN and SASL saslAuthUserDN if SASL is used.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8565 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

06 Mar, 2013

2 commits


04 Mar, 2013

1 commit


01 Mar, 2013

1 commit


28 Feb, 2013

1 commit


27 Feb, 2013

1 commit


07 Feb, 2013

1 commit


19 Dec, 2012

1 commit


12 Dec, 2012

1 commit


30 Nov, 2012

1 commit