18 Dec, 2006

7 commits


17 Dec, 2006

3 commits


15 Dec, 2006

6 commits


14 Dec, 2006

3 commits


13 Dec, 2006

3 commits


12 Dec, 2006

5 commits


11 Dec, 2006

6 commits

  • …g file permissions on the directory containing the database files. No errors are produced if there are no way to set the file permissions (ie. Windows and Java < 6.0).
    
    Fix for issue 1005
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@861 41b1ffd8-f28e-4786-ab96-9950f0a78031
    boli
     
  • 1. Fix a bug with the setup script.  Know this script is executable after the Web Start based installation.
    
    2. Provide a different welcome message in the setup depending on whether we are launching the setup from the command line or Web Start.  If we are launching the command line setup we make reference in the message to the Web Start installation and provide a link to the downloads page.
    
    3. When the setup is successful, include in the message the path of the installation as was requested by William Hathaway.
    
    4. Try to find a valid default port  (of type []389) and not limit the search to 389.  This implies not having any explanatory message to be displayed if we cannot connect to 389.
    
    5. Update the code to better handle bug scenarii.  Previously the code assumed that only RuntimeException could occur in case of a bug.  This is not true in the general case, so know the code handles Throwable objects to detect bugs.
    
    6. Provide the first implementation for the Uninstaller.  Some code has been rearranged to maximize code re-use.  The first implementation of the uninstaller basically does the following:
    
    - Display a confirmation message informing of what will happen with the installation files and the consequences of uninstalling the server.
    
    Ask the user which parts of the server must be uninstalled.
    
    Check if we have configuration references outside the installation path (for the moment this check is limited to database files and log files). If these references exist show them to the user and ask the user whether these 'external' files must be deteled or not.
    
    If the server is running we ask for confirmation to stop the server and if we are in windows we ask the user to provide a DN and a password to authenticate.
    
    If the user continues and the server is running the code calls stop-ds script, if the script succeeds the code tries to delete the files in the installation that the user wanted to uninstall and  in the case there are external files to the installation path and the user wants to delete them delete also these external files.
    
    If everything works properly the uninstaller will delete all the files except the <install-root>/lib/quicksetup.jar and <install-root>/lib/OpenDS.jar file.
    
    OpenDS.jar file is required by the command line uninstaller to share some code.
    
    I preferred not to try to delete these files from the scripts as we cannot provide proper feedback (for instance localization) if we encounter a problem deleting these files.
    
    In both cases we inform the user that there are some files that must be deleted manually.
    
    7. Provide the code to launch uninstall through command line that is analogous in terms of interaction to the graphical one.
    
    I have included two scripts to launch the uninstallation.  The uninstall script for Unix is very similar to the setup script.  However the uninstall.bat script has a difference with setup.bat.
    
    The difference is that I limit the class path to include only quicksetup.jar.  This is done because I have not found a way to delete the jar files that are in the class path of the java application using pure java code, so as the uninstaller does only require OpenDS.jar and quicksetup.jar files I have chosen to minimize the jar files in the class path.
    
     This way the only files that are not deleted during installation is quicksetup.jar and OpenDS.jar.
    
    8. Improve the wording of the install wizard as proposed by Brian and Neil.
    
    9 . One minor tweak to the QuickSetup Welcome screen: make the reference to the "setup" command a monospace font to highlight it a bit more.
    
    10.  Fix for issue 1057  (stop-ds.bat and start-ds.bat do not work when called using Runtime.exec).  The quicksetup code used to overwrite the environment variables when calling Runtime.exec which made the server not be able to start/stop correctly.
    
    11. Fix some minor bugs with the default focus on some panels.
    
    12. Update the setup scripts to use the java home file if the setup was previously called.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@860 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@859 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gary_williams
     
  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@858 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gary_williams
     
  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@857 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gary_williams
     
  • batch file that can be used to set JAVA_HOME.  Update all of the tools and
    administrative scripts provided with OpenDS so that they will use this to set
    JAVA_HOME unless it's already set in the user's environment.
    
    OpenDS Issue Number:  1082
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@856 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

09 Dec, 2006

1 commit


08 Dec, 2006

4 commits

  • contained in that backend.  Also, create a new monitor entry for each
    registered backend that will report the backend ID, base DNs, writability mode,
    and entry count for that backend.
    
    OpenDS Issue Numbers:  1062, 1063
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@853 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • 593: attribute indexes need to support subtypes and options
    1045: possible index corruption (subtree search fails to return matching entry)
    1060: entry disappears when modifying with ldapbrowser
    
    There were bugs in the way an equality index was updated for a modify operation.  Trying to determine the index changes from the sequence of modifications did not work in the general case.  Now, it ought to be correct in all cases.
    
    I've changed many of the modify operation unit tests to run against the JE backend instead of the memory backend.  Also I changed the tests to modify the mail attribute instead of description, because description is not indexed.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@852 41b1ffd8-f28e-4786-ab96-9950f0a78031
    coulbeck
     
  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@851 41b1ffd8-f28e-4786-ab96-9950f0a78031
    el_kaboing
     
  • include a structural objectclass.
    
    OpenDS Issue Number:  1067
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@850 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

07 Dec, 2006

2 commits