27 May, 2013
2 commits
-
Made HTTPRequestContext a static inner class to improve perfs. git-svn-id: https://svn.forgerock.org/opendj/trunk@8916 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
=> fix jython import git-svn-id: https://svn.forgerock.org/opendj/trunk@8915 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 May, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8914 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 May, 2013
5 commits
-
HTTPClientConnection.java: Added computeQuery() that does a null check on the request's queryString. In ctor, call computeQuery(). git-svn-id: https://svn.forgerock.org/opendj/trunk@8913 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
http-config.json: Removed useless config parameters. git-svn-id: https://svn.forgerock.org/opendj/trunk@8912 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8911 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8910 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8909 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 May, 2013
14 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8908 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8907 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8906 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8905 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8904 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8903 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8902 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
HTTPS was wrongly configured: code was configuring an SSLEngine that was then never used. Changed the code to configure an SSLEngineConfigurator that is passed down to Grizzly HTTP server. (Un)surprisingly I hit a bug on my Linux Mint: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1006776 I had to modify /etc/java-6-openjdk/security/java.security so it uses the sun Elliptic Curve implementation by changing the line security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg to security.provider.9=sun.security.ec.SunEC #security.provider.10=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg HTTPConnectionHandler.java: Replaced instance members sslContext and sslEngine with sslEngineConfigurator. Renamed createSSLEngine() into createSSLEngineConfigurator(). In createSSLContext(), removed the try / catch block duplicated with the one in createSSLEngineConfigurator(). As a consequence, the following methods changed: configureSSL(), getEnabledSSLCipherSuites(), getEnabledSSLProtocols(), getSSLEngine(), isConfigurationAcceptable(), startHttpServer(). git-svn-id: https://svn.forgerock.org/opendj/trunk@8901 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
The fallback mechanism leaves validation to complete with a warning rather than a failure. Builds fine for me locally git-svn-id: https://svn.forgerock.org/opendj/trunk@8900 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8899 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8898 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
OPENDJ-842 On Windows, the setup command hangs when the length of the install path is too long Code review and initial idea: violette Now that the application starts with the single bootstrap jar, MacOS X can take advantage of this by referencing it statically in the plist files. In other words, it is no longer necessary to build the plist files dynamically. Info.plist: Hardcoded the path to bootstrap.jar build.xml: Removed the code that appended the jars to the **/Info.plist files for MacOS X. git-svn-id: https://svn.forgerock.org/opendj/trunk@8897 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8896 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8894 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
OPENDJ-858 Add stats tracking to HTTP client connections The value output by the "cs-uri-query" extended log format was incorrect, the URL parameters should have been separated by a question mark character '?' instead of a slash character '/'. HTTPClientConnection.java: Used a question mark character '?' to build the uri query. git-svn-id: https://svn.forgerock.org/opendj/trunk@8893 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Thanks Matt & Ludo :) git-svn-id: https://svn.forgerock.org/opendj/trunk@8892 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8890 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 May, 2013
9 commits
-
Added documentation. git-svn-id: https://svn.forgerock.org/opendj/trunk@8889 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* set the default window size to 100K * indicate that the properties may be deprecated in future releases * tag properties as advanced. Reviewed manually by Ludo. git-svn-id: https://svn.forgerock.org/opendj/trunk@8888 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added documentation. git-svn-id: https://svn.forgerock.org/opendj/trunk@8887 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added documentation. git-svn-id: https://svn.forgerock.org/opendj/trunk@8886 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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
-
…d as internal operations. SdkConnectionAdapter.java: In close(), marked the UnbindOperationBasis as being an internal/inner operation. git-svn-id: https://svn.forgerock.org/opendj/trunk@8884 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8883 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* use synchronized set for storing connections because request cancellation can cause a re-entrant update of the connection set if the connection is closed * simplify notification and avoid locking when removing connections. git-svn-id: https://svn.forgerock.org/opendj/trunk@8882 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ions when it should be Code review: matthew AbstractTextAccessLogPublisher.java: Fixed the bug by coming back a bit to what the old code was doing (it is not totally comparable). AbstractTextAccessLogPublisherTest.java: Updated the test. git-svn-id: https://svn.forgerock.org/opendj/trunk@8881 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 May, 2013
1 commit
-
…install path is too long resource/bin/_script-util.bat Fixed the classpath on Windows (removed double quotes on bootstrap.jar). git-svn-id: https://svn.forgerock.org/opendj/trunk@8880 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 May, 2013
3 commits
-
…install path is too long UpgradeUtils.java: Fixed the code "fixed" by the plugin. git-svn-id: https://svn.forgerock.org/opendj/trunk@8879 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…install path is too long In order to avoid getting errors like "The input line is too long" on windows, a common way to fix this is to provide a "bootstrap" empty jar which contains only a MANIFEST.MF file listing all the application's jars in the "Class-Path" attribute. This URL describes well enough the problem: http://ant.apache.org/manual/Tasks/manifestclasspath.html build.xml: In "prepackage" target, build bootstrap.jar. _script-util.bat, _script-util.sh: Replaced appending all the jars under libs with just the bootstrap jar. Utilities.java, Utils.java, UpgradeUtils.java: In getInstallPathFromClasspath(), extracted getInstallPath() and simplified its code a lot. Installation.java, Installation.java: Changed OPEN_DS_JAR_RELATIVE_PATHS into OPEN_DJ_BOOTSTRAP_JAR_RELATIVE_PATH. git-svn-id: https://svn.forgerock.org/opendj/trunk@8878 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8877 41b1ffd8-f28e-4786-ab96-9950f0a78031