15 Jul, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9238 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Jun, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9094 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Jun, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9085 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Jun, 2013
1 commit
-
replication.properties: Fixed grammar mistakes. git-svn-id: https://svn.forgerock.org/opendj/trunk@9057 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
-
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
17 Jun, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8997 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Jun, 2013
1 commit
-
… replication and hostSource is typed incorrectly - removed 'the host/remote server' && fix typo in _ERR_CANNOT_CONNECT_TO_REMOTE_COMMUNICATION git-svn-id: https://svn.forgerock.org/opendj/trunk@8992 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
10 Jun, 2013
1 commit
-
…es and skipDNValidation is set - Removed NullPointerException message and it sends now a DirectoryException. git-svn-id: https://svn.forgerock.org/opendj/trunk@8980 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
05 Jun, 2013
1 commit
-
Also fix minor issues with URLs in the install.html and .txt files. git-svn-id: https://svn.forgerock.org/opendj/trunk@8964 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
27 May, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8918 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
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
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
15 May, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8873 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 May, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8869 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 May, 2013
1 commit
-
…ck.org/opendj/branches/native-packaging@8851 . git-svn-id: https://svn.forgerock.org/opendj/trunk@8853 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 May, 2013
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8844 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…uld be displayed in status command output ConfigFromFile.java, ConfigFromDirContext.java: Added support for HTTPConnectionHandlerCfg. Extracted methods addAll(). Used foreach. ConnectionHandlerDescriptor.java, admin_tool.properties: Added HTTP and HTTPS. StatusCli.java: Removed useless creation of a Set local variable. git-svn-id: https://svn.forgerock.org/opendj/trunk@8841 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
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
15 Apr, 2013
1 commit
-
CR-1544. git-svn-id: https://svn.forgerock.org/opendj/trunk@8747 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Apr, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8714 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
26 Mar, 2013
1 commit
-
…able to modify entries git-svn-id: https://svn.forgerock.org/opendj/trunk@8649 41b1ffd8-f28e-4786-ab96-9950f0a78031
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
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
06 Mar, 2013
2 commits
-
- Fixed message. git-svn-id: https://svn.forgerock.org/opendj/trunk@8556 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…t groups when configured explicitly for one of the groups ReplicationBroker.java: In connectAsDataServer(), removed following useless if statement (root cause for the bug): // Really no other server with our group id ? if ((tmpRsGroupId == groupId) || (!someServersWithSameGroupId)) Extracted method connectToReplicationServer() in connectAsDataServer(). Removed hasSomeServerWithSameGroupId(). git-svn-id: https://svn.forgerock.org/opendj/trunk@8554 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Mar, 2013
1 commit
-
- If in cleardegradedState mode, output just displays the following msg "Degraded state of index(es) [indexe(s) name] has been removed". git-svn-id: https://svn.forgerock.org/opendj/trunk@8535 41b1ffd8-f28e-4786-ab96-9950f0a78031
01 Mar, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8528 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Feb, 2013
1 commit
-
…uildDegraded" options are specified on the same command line git-svn-id: https://svn.forgerock.org/opendj/trunk@8512 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Feb, 2013
1 commit
-
…uildAll" options are specified on the same command line git-svn-id: https://svn.forgerock.org/opendj/trunk@8506 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Feb, 2013
1 commit
-
… clear an index's degraded status. git-svn-id: https://svn.forgerock.org/opendj/trunk@8434 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Dec, 2012
1 commit
-
Now fields to input password is displayed if the duplicated entry contains a password. git-svn-id: https://svn.forgerock.org/opendj/trunk@8391 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Dec, 2012
1 commit
-
Also remove/fixed unreferenced messages git-svn-id: https://svn.forgerock.org/opendj/trunk@8376 41b1ffd8-f28e-4786-ab96-9950f0a78031
30 Nov, 2012
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8350 41b1ffd8-f28e-4786-ab96-9950f0a78031