04 Jun, 2013
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8961 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8960 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Align signature of DirectoryServer.deregisterMonitorProvider with registerMonitorProvider and avoid lots of boilerplate name normalization. git-svn-id: https://svn.forgerock.org/opendj/trunk@8958 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Jun, 2013
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8955 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add host:port information to each replication node monitoring entry * make replication monitor entry naming more consistent * bump the protocol version in order to support including the remote server URL in DSInfo/TopologyMsg. git-svn-id: https://svn.forgerock.org/opendj/trunk@8953 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- 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
31 May, 2013
3 commits
-
* Set the RS URL by first checking the list of configured replication servers to see if any correspond to the local host / port. If a match is found then it is used, otherwise we fall back to the old mechanism which was to perform a name lookup of /etc/hostname. git-svn-id: https://svn.forgerock.org/opendj/trunk@8950 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8949 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* fix unit test regression introduced by previous commit. RS candidate filtering was too aggressive and assumed that there would only be one RS per JVM, which is not the case in the unit tests * also use a thread safe set implementation for the local RS ports in order to avoid potential race conditions in unit tests (this may be the cause of occasional RS load balancing unit test failures). git-svn-id: https://svn.forgerock.org/opendj/trunk@8948 41b1ffd8-f28e-4786-ab96-9950f0a78031
30 May, 2013
4 commits
-
This partial fix addresses the first two bugs described in the issue comments, specifically: * the logic (ReplicationBroker#filterServersInSameVM) which chooses the best RS does not prefer RS which are on the same host, only those which are in the same VM. In addition, the logic in ReplicationServer#isLocalReplicationServerPort assumes that the local host name is the same address which the RS is listening on * the method ReplicationBroker#isSameReplicationServerUrl contains a typo which causes the second url to be interpreted as the local host name if the first url is a local address. This triggers all kinds of strange side effects during RS fail-over. git-svn-id: https://svn.forgerock.org/opendj/trunk@8946 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- added message when buildinfo is not found. - excluded .app / bat files. git-svn-id: https://svn.forgerock.org/opendj/trunk@8944 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- added --acceptLicense to the setup command line options. - modified code for checking the license during the setup : - using the no-prompt option no longer bypass the license if presents. - displays now the license text, question and answer(yes) when used with the --acceptLicense. git-svn-id: https://svn.forgerock.org/opendj/trunk@8943 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8942 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 May, 2013
2 commits
-
- License is now accepted at the end of upgrade's process (if no errors). git-svn-id: https://svn.forgerock.org/opendj/trunk@8941 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- The packages name for Deb/RPM follows the rules given by their respective documentation. - Adding a VERSION_QUALIFIER containing special chars no longer make fail the package build. git-svn-id: https://svn.forgerock.org/opendj/trunk@8938 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 May, 2013
6 commits
-
… and fixed jython exception in SNMP tests git-svn-id: https://svn.forgerock.org/opendj/trunk@8937 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added --acceptLicense to upgrade's command line in packages (RPM / Deb) git-svn-id: https://svn.forgerock.org/opendj/trunk@8935 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8933 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8931 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8928 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8927 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 May, 2013
10 commits
-
- A new var has been created in PRODUCT file. The 'Release number' should start at 1 for the RPM and the 'debian revision number' (.deb) as well. git-svn-id: https://svn.forgerock.org/opendj/trunk@8926 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
config.ldif: Made the "File-Based HTTP Access Logger" disabled by default. git-svn-id: https://svn.forgerock.org/opendj/trunk@8925 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Made the "File-Based HTTP Access Logger" disabled by default. git-svn-id: https://svn.forgerock.org/opendj/trunk@8922 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
There are a number of issues with the Mac Apps, and this commit fixes most of them, but we should also change the icon name and picture once we have a logo for OpenDJ. The version and revision numbers are now automatically set when packaging. The -client JVM option is deprecated and thus removed. And we properly set the ServerRoot to allow ControlPanel to work when double clicking the icon. Note that Mac App are dependant on the JavaApplicationStub that only supports Java6. We fine for now, since OpenDJ is built with target 1.6, but we will need to redo the Apps when/if we switch to 1.7 by default. git-svn-id: https://svn.forgerock.org/opendj/trunk@8921 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8920 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8919 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8918 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The problem was due to a misconfiguration of Grizzly HTTP server. Using HttpServer.createSimpleServer() to create the server means Grizzly adds unwanted network listeners and HTTP handlers that interfere with the expected behaviour of the application. Problem was solved by doing a direct configuration of the HTTP server, removing unwanted mappings and servlets. HTTPConnectionHandler.java: In startHttpServer(), extracted methods createHttpServer() and createAndRegisterServlet(). In createHttpServer(), do not use HttpServer.createSimpleServer() anymore and do a direct, clutterless configuration. In setHttpStatsProbe() and getHttpConfig(), added an HTTPServer parameter so this method can be used before or after creating the HTTPServer. git-svn-id: https://svn.forgerock.org/opendj/trunk@8917 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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
2 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
23 May, 2013
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8903 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 -
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
-
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
2 commits
-
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