------------------------------------------------------------------------ r1835 | jvergara | 2007-05-08 04:55:44 -0500 (Tue, 08 May 2007) | 2 lines Remove explicit references to some classes in the org.opends.server package which broke the QuickSetup (the user had to wait till OpenDS.jar was downloaded). Also modify the code to have a localized message when the server is failed to start in the connection handlers mode. ------------------------------------------------------------------------ r1836 | kenneth_suter | 2007-05-08 11:30:37 -0500 (Tue, 08 May 2007) | 1 line corrected title of web start upgrade application ------------------------------------------------------------------------ r1837 | jvergara | 2007-05-08 11:44:01 -0500 (Tue, 08 May 2007) | 6 lines Add the option -Xrs to java when we start the server as a service. This is required to avoid the server to be shutdown when is run as a service and the user logs off. Add some 'pause' commands when we could not get a proper JVM for the Windows batch files. This way when the user double clicks on them the command prompt window will stay open until they touch a key and (s)he will be able to read the error message. ------------------------------------------------------------------------ r1838 | kenneth_suter | 2007-05-08 11:57:00 -0500 (Tue, 08 May 2007) | 5 lines The QuickSetup application's ZipExtractor assumes that the first zip entry from a ZipInputStream will be the root directory of all the entries in the zip which is apparently not always the case. This commit removes this assumption and instead removes the initial path by looking for the zip entry path file separator. There is also a change to the build extractor so that unexpected errors are written to the log file. ------------------------------------------------------------------------ r1839 | jvergara | 2007-05-08 11:58:25 -0500 (Tue, 08 May 2007) | 2 lines When the user provides authentication (and if previously not all the information was displayed) resize the dialog so that we actually can view all the status. ------------------------------------------------------------------------ r1841 | jvergara | 2007-05-08 16:29:14 -0500 (Tue, 08 May 2007) | 4 lines Do not display the replication monitoring information if there are no replicated suffixes. Fix a number of bugs related to the refresh of the contents of the status panel when the data to be displayed changes (the panel did not get refreshed). ------------------------------------------------------------------------ r1842 | neil_a_wilson | 2007-05-09 13:17:27 -0500 (Wed, 09 May 2007) | 6 lines Update the server so that the audit logger is disabled by default. Also, change the format of the audit log messages so that they use the standard LDIF change syntax and therefore can be easily replayed if necessary. OpenDS Issue Number: 1585 ------------------------------------------------------------------------ r1843 | neil_a_wilson | 2007-05-09 15:41:56 -0500 (Wed, 09 May 2007) | 7 lines Update the DSML gateway so that it properly treats the request ID as an optional element rather than required. Also, update the DSML search processing code to be a little more forgiving when it comes to the search scope and deref policy strings. OpenDS Issue Number: 1584 ------------------------------------------------------------------------ r1844 | kenneth_suter | 2007-05-09 16:20:05 -0500 (Wed, 09 May 2007) | 1 line beefed up logging for the upgrader ------------------------------------------------------------------------ r1845 | kenneth_suter | 2007-05-10 09:16:11 -0500 (Thu, 10 May 2007) | 8 lines This commit addresses several issues that Brian brought up regarding the upgrader. - Lots of label, dialog wording and layout changes. - The user is now warned if they try to close the upgrader window before it is finished. If the user indicates they want to cancel the operation the upgrader cleans up any filesystem changes that had been made to that point. - Added ability for progress panel to display HTML pre-formatted error messages as is currently possible for success messages. ------------------------------------------------------------------------ r1846 | gary_williams | 2007-05-10 10:42:25 -0500 (Thu, 10 May 2007) | 2 lines Fix Issue 1590 start-tls tests don't implement logging ------------------------------------------------------------------------ r1847 | gary_williams | 2007-05-10 10:45:54 -0500 (Thu, 10 May 2007) | 2 lines Fix Issue 1232 divide by zero error in test report stylesheet ------------------------------------------------------------------------ r1848 | gary_williams | 2007-05-10 10:54:03 -0500 (Thu, 10 May 2007) | 2 lines Fix Issue 1593 tests don't wait for task COMPLETED_SUCCESSFULLY ------------------------------------------------------------------------ r1849 | gary_williams | 2007-05-10 11:06:36 -0500 (Thu, 10 May 2007) | 2 lines StartDsWithScript function should use -V ------------------------------------------------------------------------ r1850 | neil_a_wilson | 2007-05-10 13:48:34 -0500 (Thu, 10 May 2007) | 4 lines Fix a typo in the name of the "pilotPerson" object class. OpenDS Issue Number: 1597 ------------------------------------------------------------------------ r1851 | kenneth_suter | 2007-05-10 13:55:38 -0500 (Thu, 10 May 2007) | 6 lines This chunk of code: - Leaves the server in the state requested by the user in the review panel for the GUI upgrader. - Includes a change to QuickSetup: Previously finishClicked() did not tell the application to update the user data as nextClicked() does. The Installer and Uninstaller had their own logic for performing the validation and launching. I've updated finishClicked() to return a boolean where a true value indicates that QuickSetup should treat clicking the Finish button as clicking the Next button by telling the application to update the user data as well as launch the application's process if the next step is the progress step. A false value (which the Uninstaller and Installer return) means that the application will manage its own updating of the final panel and launching of the application process. ------------------------------------------------------------------------ r1852 | neil_a_wilson | 2007-05-10 17:16:11 -0500 (Thu, 10 May 2007) | 2 lines Remove test cases added for schema issues found to be invalid. ------------------------------------------------------------------------ r1853 | al_xipe | 2007-05-10 18:08:58 -0500 (Thu, 10 May 2007) | 1 line first version of the gui tests with only install/uninstall ------------------------------------------------------------------------ r1854 | al_xipe | 2007-05-10 21:56:13 -0500 (Thu, 10 May 2007) | 1 line fix for classpath on windows ------------------------------------------------------------------------ r1855 | matthew_swift | 2007-05-11 07:24:25 -0500 (Fri, 11 May 2007) | 1 line Add isChildOf and isParentOf methods for determining the inheritance relationship between two managed object definitions. Also make the property definition and relation definitin registration methods protected. ------------------------------------------------------------------------ r1856 | gbellato | 2007-05-11 08:19:28 -0500 (Fri, 11 May 2007) | 9 lines This code allows the replication code to replay operation in the correct order when operation have dependencies (like adding child entry after parent) The operations are first done without checking for dependency and only if they failed are checked for dependencies and inserted in a list of dependent changes. More information can be found in issue 612. This code also set back the number of threads used by the replication to 10 (issue 1568) ------------------------------------------------------------------------ r1857 | kenneth_suter | 2007-05-11 08:26:06 -0500 (Fri, 11 May 2007) | 4 lines - Corrected prefetching of build ID information which was broken and consolidated in the Installation class. - Add current build ID string to choose version panel ------------------------------------------------------------------------ r1858 | mkeyes | 2007-05-11 11:11:43 -0500 (Fri, 11 May 2007) | 2 lines Adding functional tests for default global ACIs (Issue 1402), ACI groupdn support (Issue 454), and ACI userattr support (Issue 455). ------------------------------------------------------------------------ r1859 | al_xipe | 2007-05-11 11:29:02 -0500 (Fri, 11 May 2007) | 1 line fix for uninstall classpath on windows ------------------------------------------------------------------------ r1860 | neil_a_wilson | 2007-05-11 11:32:15 -0500 (Fri, 11 May 2007) | 2 lines Change the OpenDS minor version number from 8 to 9. ------------------------------------------------------------------------ r1861 | coulbeck | 2007-05-11 11:50:12 -0500 (Fri, 11 May 2007) | 1 line Fix for issue #1604: status command does not allow password from stdin. ------------------------------------------------------------------------ r1862 | mkeyes | 2007-05-11 16:18:31 -0500 (Fri, 11 May 2007) | 2 lines Some syntax test cases for the functional tests for ACI bind types. ------------------------------------------------------------------------ r1863 | coulbeck | 2007-05-11 18:27:30 -0500 (Fri, 11 May 2007) | 1 line Issue 1532: Remove ConfigEntry from Backend API. ------------------------------------------------------------------------ r1864 | gbellato | 2007-05-14 09:25:40 -0500 (Mon, 14 May 2007) | 3 lines Fix small problems in the unit tests where - port number was wrong - return values were not tested before they were used leading to occasional failure of tests. ------------------------------------------------------------------------ r1865 | al_xipe | 2007-05-14 09:52:22 -0500 (Mon, 14 May 2007) | 1 line Added debug option for the STAX gui ------------------------------------------------------------------------ r1866 | kenneth_suter | 2007-05-14 10:21:19 -0500 (Mon, 14 May 2007) | 6 lines This commit does the following: - Creates a new class ServerHealthChecker for consolidating logic related to determining whether or not the server is healthy which is done both before and after an upgrade takes place. - Creates a new class InProcessServerController where I've moved the methods for managing an instance of DS running in the same JVM process. I did this because the methods there now return OperationOutput objects and the implementation for the InProcess version required lots of server classes related to server logging. These classes that are now imported have been added to the quicksetup.jar (see build.xml). ------------------------------------------------------------------------ r1868 | neil_a_wilson | 2007-05-14 13:57:42 -0500 (Mon, 14 May 2007) | 6 lines Update the JE backend search processing code so that any unindexed search will be checked against the virtual attribute subsystem to see if any of the virtual attribute providers can help process the search. OpenDS Issue Number: 1507 ------------------------------------------------------------------------ r1869 | kenneth_suter | 2007-05-14 14:43:48 -0500 (Mon, 14 May 2007) | 1 line fixed web start class loading issues ------------------------------------------------------------------------ r1870 | kenneth_suter | 2007-05-14 16:53:17 -0500 (Mon, 14 May 2007) | 1 line added necessary line feed following server stop ------------------------------------------------------------------------ r1871 | kenneth_suter | 2007-05-14 16:55:15 -0500 (Mon, 14 May 2007) | 1 line allow upgrade to same version to allow for case where user is using tool to repair an installation ------------------------------------------------------------------------ r1872 | kenneth_suter | 2007-05-14 16:57:16 -0500 (Mon, 14 May 2007) | 1 line added constructor to zip extractor for extracting from a stream with no application ------------------------------------------------------------------------ r1873 | boli | 2007-05-14 18:09:08 -0500 (Mon, 14 May 2007) | 8 lines Fixed issue with the override-severity attribute in the error logger configuration entry. It now works as described in the documentation. Renamed all error and debug logging levels and severities to lower case with dashes. This conforms to the admin framework enum name requirements. Fixed some incorrect debug category names in build.xml Added an "all" error log severity level to log all messages. Fix for issue 1502 ------------------------------------------------------------------------ r1874 | kenneth_suter | 2007-05-14 20:29:08 -0500 (Mon, 14 May 2007) | 1 line fixed bug in isReversion ------------------------------------------------------------------------ r1875 | lutoff | 2007-05-15 03:10:13 -0500 (Tue, 15 May 2007) | 8 lines issue 1430 fix (all utilities should provide as standard option -V/--version) to specify the LDAP protocol version number, we should use now -V/--ldapVersion to get the 'product' version --version In all other tools/CLIs -V/--version will print the version info ------------------------------------------------------------------------ r1876 | mkeyes | 2007-05-15 08:38:26 -0500 (Tue, 15 May 2007) | 2 lines Adding functional test cases for Issue 450, Selfwrite Operation Support. ------------------------------------------------------------------------ r1877 | lutoff | 2007-05-15 09:17:08 -0500 (Tue, 15 May 2007) | 1 line Fix for [Issue 1608] setup and uninstall don't have -V/--version argument ------------------------------------------------------------------------ r1878 | lutoff | 2007-05-15 09:19:28 -0500 (Tue, 15 May 2007) | 1 line Remove white space that the end of lines ------------------------------------------------------------------------ r1879 | neil_a_wilson | 2007-05-15 14:59:55 -0500 (Tue, 15 May 2007) | 16 lines Make a number of administrative types of updates: - Change the way that we construct the server version number. This is explained in detail at https://www.opends.org/wiki/page/TheOpenDSVersionNumber - Remove the CheckEOLStyle and CheckCopyrightDates ant targets and replace them with a single CheckPrecommit target that does both tasks and should be much more efficient. This should prevent out of memory errors on some platforms that were experiencing them before. - Update the build process so that Javadoc generation is no longer part of the precommit target. This has been known to take a significant length of time and is unlikely to catch many problems that checkstyle doesn't already detect. ------------------------------------------------------------------------ r1880 | kenneth_suter | 2007-05-15 15:32:42 -0500 (Tue, 15 May 2007) | 16 lines This commit removes the Web Start version of the upgrader's ability to download arbitrary builds to be used for upgrading. Instead, the Web Start version of upgrade will be tied to the build version of upgrader. This is necessary after discovering that attemping to perform internal communication with the directory server when the DS bit and the upgraders bits are of different versions is problematic. - The Web Start upgrader will now need to be invoked by clicking an 'upgrade to this build' link presumably on the OpenDS website. We will need to think about how to present this to users. I've removed the ability of the 'upgrade' script to invoke the WebStart version of the upgrader. So at least for the time being, the upgrader scripts are CLI only. At some point it might be possible to have a command execute a GUI version. - Removed the Choose Version step of the upgrader although I have kept the UI classes for downloading the build in place since I presume this is something we will want to pursue at some point. It is now easy to determine the current future version of the build (since it matches the upgrader's version) and so the upgrader's Review Page has been fixed to always show the correct version of the build to which the upgrade will be performed. - InProcessServerController now throws an exception if the current version of OpenDS does not match the version of the installation parameter. - I have removed the initial pre-flight test that the upgrader was performing on the server before the upgrade. If you did not know, the upgrader would perform a check and refuse to upgrade a server that spit out error messages when started. Technically the check would need to be performed external to the JVM and I am not sure that our method for gathering log message spit out by the server is gauranteed to work on all platforms (Windows) and in all cases. At any rate, Brian though the check was unnecessary so I have disabled it. The upgrade still cancels if there are errors starting the server after the upgrade has been performed. - I have re-enabled adding of the upgrade scripts to the build. - I've updated the usage message for the CLI removing references to the GUI version of the tool as well as suggest visiting opends.org to use the web start version of the tool. - Externalized the exectution of the backup databases process. ------------------------------------------------------------------------ r1881 | neil_a_wilson | 2007-05-15 15:44:31 -0500 (Tue, 15 May 2007) | 4 lines Update the way the Java Web Start installer creation script finds the path to the Director Server JAR files to take the new version numbering scheme into account. ------------------------------------------------------------------------ r1882 | boli | 2007-05-15 17:24:21 -0500 (Tue, 15 May 2007) | 4 lines Fixed issue where the startup loggers will close the System.out stream when they are shutdown. Fix for issue 1609 ------------------------------------------------------------------------ r1883 | kenneth_suter | 2007-05-15 19:40:31 -0500 (Tue, 15 May 2007) | 1 line fixed upgrader CLI never exiting following successful upgrade ------------------------------------------------------------------------ r1884 | lutoff | 2007-05-16 02:40:12 -0500 (Wed, 16 May 2007) | 1 line Add a "PRINTABLE_VERSION_STRING" string in DynamicContants class. This will prevent to compute in several places the printable string to be displayed (--version) ------------------------------------------------------------------------ r1885 | lutoff | 2007-05-16 08:18:15 -0500 (Wed, 16 May 2007) | 1 line Use System.getProperty("line.separator") instead of "\n" ------------------------------------------------------------------------ r1886 | gbellato | 2007-05-16 08:20:36 -0500 (Wed, 16 May 2007) | 8 lines use the admin framework facilities to do pattern matchin on the replication server addresses to make sure that it contain both a hostname and a port number. Also use the last : as the separator in case somebody would want to use a IPv6 address. Issu number 1579 ------------------------------------------------------------------------ r1887 | gbellato | 2007-05-16 08:22:19 -0500 (Wed, 16 May 2007) | 10 lines Add the xml definitions files missing in the previous commit use the admin framework facilities to do pattern matchin on the replication server addresses to make sure that it contain both a hostname and a port number. Also use the last : as the separator in case somebody would want to use a IPv6 address. Issue number 1579 ------------------------------------------------------------------------ r1889 | boli | 2007-05-16 15:35:48 -0500 (Wed, 16 May 2007) | 5 lines Fixed bug where the file name of the archive created by the JE backup manager is confusing. It will no longer include a .zip extention for any type of backup. This makes it consistant with the rest of the file names created by other backends. Fix for issue 1283 ------------------------------------------------------------------------ r1890 | dugan | 2007-05-17 06:33:06 -0500 (Thu, 17 May 2007) | 3 lines ACI fixes and unit tests for issues related to targetattr keyword and returning operational attributes. Issues #1587, #1606 and #1479. ------------------------------------------------------------------------ r1891 | kenneth_suter | 2007-05-17 08:03:10 -0500 (Thu, 17 May 2007) | 11 lines This commit cleans up the output for both the CLI and Web Start versions of the upgrader so that it conforms to Brian's proposal to limit messages to the progress text area and CLI output. There is some new plumbing that affects but should not change other applications. - StandardOutputSuppressor is introduced to help manage suppressing output to the command line which is necessary for server operations like starting the server which output text to standard out. This does not affect the output from showing up in the application log nor any OperationOutput returned from an operation. - InProcessServerController suppresses server standard output for all operations. - ServerController has input parameters for controlling whether or not standard output is suppressed since the installer and uninstaller output is still in the old style. Someday we can remove these when the output from those applications is made less verbose. - Added a getFormattedError() similar to getFormattedDone() for creating an end-of-current-step marker when the current step does not go well. ------------------------------------------------------------------------ r1892 | kenneth_suter | 2007-05-17 08:05:54 -0500 (Thu, 17 May 2007) | 4 lines The upgrader determines schema and configuration customization by performing an ldif-diff of the base schema and configuration files with those in the current server. Previously the invocation of this command just used the internal LDIFDiff class to perform this work. Given the recent discovery of problems associated with using DirectoryServer in the same process when the filesystem bits and the jars are different version, this commit externalizes the command invocation to an external process using the currently installed jars. I have created a new class ExternalTools for managing invocation of OpenDS tools in a different process, similar to what has been done with the ServerController. In fact I have moved the backupDatabases method from ServerController to the new ExternalTools class since conceptually its not really about controlling the server. ------------------------------------------------------------------------ r1893 | kenneth_suter | 2007-05-17 08:11:16 -0500 (Thu, 17 May 2007) | 1 line Removed bad characters ------------------------------------------------------------------------ r1894 | kenneth_suter | 2007-05-17 08:45:03 -0500 (Thu, 17 May 2007) | 1 line added guard to prevent runtime error in case ApplicationException.Type is null ------------------------------------------------------------------------ r1895 | kenneth_suter | 2007-05-17 09:29:05 -0500 (Thu, 17 May 2007) | 1 line removed unneeded import statement ------------------------------------------------------------------------ r1896 | al_xipe | 2007-05-17 11:52:47 -0500 (Thu, 17 May 2007) | 1 line 1.ixed script to accomodate the new versioning paradigm ------------------------------------------------------------------------ r1897 | neil_a_wilson | 2007-05-17 11:59:51 -0500 (Thu, 17 May 2007) | 5 lines Fix a problem that could prevent the server from starting under certain network conditions. OpenDS Issue Number: 1615 ------------------------------------------------------------------------ r1898 | neil_a_wilson | 2007-05-17 12:07:39 -0500 (Thu, 17 May 2007) | 3 lines Fix the rebuild target in the build script so that it computes the version number correctly. ------------------------------------------------------------------------ r1899 | kenneth_suter | 2007-05-17 12:54:20 -0500 (Thu, 17 May 2007) | 8 lines This commit addresses a few miscellaneous issues with upgrader: - The server health check at the end was being done starting with connection handlers disabled which would fail to catch some problems. - The registration of the log publishers for DirectoryServer.startServer was being done at the wrong time and so starting server in process never picked up log messages that may indicate a problem. - The .zip file was being extracted a second time unnecessarily for the CLI version of the tool. ------------------------------------------------------------------------ r1904 | kenneth_suter | 2007-05-17 14:49:07 -0500 (Thu, 17 May 2007) | 2 lines The upgrader writes a log in the history directory that contains information about attempts to upgrade and contains references to the current and upgrade build. Formerly these were SVN revision numbers which is not very informative to humans. This commit writes the build's major, minor, point and revision numbers in the historical log. ------------------------------------------------------------------------ r1905 | kenneth_suter | 2007-05-17 15:51:24 -0500 (Thu, 17 May 2007) | 1 line This commit addresses issue 1598 in which the Java Web Start splash screen for both the QuickSetup and QuickUpgrade applications erroneously contain a space after the work 'Quick'. ------------------------------------------------------------------------ r1906 | kenneth_suter | 2007-05-17 17:01:41 -0500 (Thu, 17 May 2007) | 1 line Made minor fix and improved messages for errors when the user lacks the proper file system access permissions to use the upgrade tool. Also updated the text on the Welcome page to reflect removal of the build browsing capability. ------------------------------------------------------------------------ r1907 | neil_a_wilson | 2007-05-17 17:02:02 -0500 (Thu, 17 May 2007) | 19 lines Perform miscellaneous cleanup from bugs and other potential problems found by FindBugs - A couple of cases in which it was possible to reference a variable before it had been initialized. - Several cases of unnecessary or inefficient type conversion (e.g., calling String.toString() or new String(String), or calling new Long(long) instead of Long.valueOf(long)). - Several cases of code that was either unused or could not possibly be reached. - One case in which an error message was created but not added to an operation response, and a case in which an exception was created but never thrown. - Renaming a method in the replication code from "NewChangeNumber()" to "newChangeNumber()", since method names should start with a lowercase letter. ------------------------------------------------------------------------ r1908 | coulbeck | 2007-05-17 17:19:57 -0500 (Thu, 17 May 2007) | 2 lines Issue 1614: backend refuses to open when essential index missing. Need to preserve org.opends.server.synchronization.plugin.HistoricalCsnOrderingMatchingRule to maintain compatibility with databases created by older builds. ------------------------------------------------------------------------ r1909 | coulbeck | 2007-05-17 17:22:31 -0500 (Thu, 17 May 2007) | 1 line For convenience allow build -Dtest.methods=class#method. For example to cut and paste a method from the test report into the -Dtest.methods parameter. ------------------------------------------------------------------------ r1910 | al_xipe | 2007-05-17 19:04:32 -0500 (Thu, 17 May 2007) | 1 line Added fix for new naming paradigm. ------------------------------------------------------------------------ r1911 | ugaston | 2007-05-18 05:43:04 -0500 (Fri, 18 May 2007) | 1 line Setting execution granularity at Suite level: Part 1 ------------------------------------------------------------------------ r1912 | ugaston | 2007-05-18 05:47:47 -0500 (Fri, 18 May 2007) | 1 line Setting execution granularity at Suite level: Part 2 ------------------------------------------------------------------------ r1913 | ugaston | 2007-05-18 05:49:53 -0500 (Fri, 18 May 2007) | 1 line Setting execution granularity at Suite level: Part 3 ------------------------------------------------------------------------ r1914 | ugaston | 2007-05-18 05:53:37 -0500 (Fri, 18 May 2007) | 1 line Setting execution granularity at Suite level: Part 4 ------------------------------------------------------------------------ r1915 | dugan | 2007-05-18 09:09:11 -0500 (Fri, 18 May 2007) | 2 lines Remove ACI roledn bind rule keyword. Issue #1577. ------------------------------------------------------------------------ r1916 | kenneth_suter | 2007-05-18 13:35:46 -0500 (Fri, 18 May 2007) | 1 line hide progress bar after finished with error ------------------------------------------------------------------------ r1917 | mkeyes | 2007-05-18 15:50:51 -0500 (Fri, 18 May 2007) | 2 lines Added a test case for Issue 1577, non-support of roledn keyword. ------------------------------------------------------------------------ r1918 | neil_a_wilson | 2007-05-18 18:06:58 -0500 (Fri, 18 May 2007) | 6 lines Add global ACIs that allow anonymous read access to key operational attributes, including many attributes in the root DSE and cn=schema, as well as other attributes that show up in entries throughout the server. OpenDS Issue Number: 1622 ------------------------------------------------------------------------