17 Aug, 2009

1 commit


14 Aug, 2009

3 commits


13 Aug, 2009

6 commits


12 Aug, 2009

4 commits

  • …execute the code of the method bootstrapClient once, however this is not ideal for some client codes.  Some methods, such as initializeConfiguration, require the DirectoryServer object to be 'clean' (freshly bootstrapped), this can only be achieved by executing all the code of bootstrapClient.
    
    The changes are actually just cosmetic, the logic in the code remains intact (simply the member isClientBootstrapped has been removed).
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@5660 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@5659 41b1ffd8-f28e-4786-ab96-9950f0a78031
    csovant
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@5658 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ugaston
     
  • The code assumed that if the two registries were equal, then they were replicated.  This was wrong, if we disabled replication for one server, only the disabled server was unregistered from the ADS and this caused the problem (since the certificate of the previously unregistered server was not seeded).  The fix consists of two parts (even though just one of them would be enough to fix the issue, I think that having both will help the code to handle more scenarios):
    
    1. Check that if the registries are equal, they actually are replicated (in terms of configuration of the replication).
    2. Unregister ALL the servers from the ADS of the server where replication is being disabled if we have to unregister the server itself.  
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@5654 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     

11 Aug, 2009

4 commits


10 Aug, 2009

2 commits


07 Aug, 2009

2 commits

  • git-svn-id: https://svn.forgerock.org/opendj/trunk@5637 41b1ffd8-f28e-4786-ab96-9950f0a78031
    maudj
     
  • When checking dependencies during replay of operations on the consumer
    the replication go through the list of pending changes while holding the
    pending changes lock.
    When using large values for the window size, the list can be large
    and this can therefore cause large replication delay on the replica. 
    
    The solution is to limit the parsing to the list of changes that are older than the current change. 
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@5636 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gbellato
     

06 Aug, 2009

2 commits


05 Aug, 2009

1 commit

  • 4161 some mistranslations in german
    and
    4162 french: exception in setup
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@5631 41b1ffd8-f28e-4786-ab96-9950f0a78031
    hajma
     

04 Aug, 2009

2 commits


03 Aug, 2009

1 commit


31 Jul, 2009

3 commits


30 Jul, 2009

3 commits


29 Jul, 2009

6 commits

  • - Disconnect notifications are no longer sent when IO errors or client disconnects are encountered. 
    - TLSByteChannel now  throws SSLException if SSLEngine.wrap did not produce any bytes.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@5617 41b1ffd8-f28e-4786-ab96-9950f0a78031
    boli
     
  • If the provided certificate to be accepted in the key store is not already there, use a unique alias for the certificate.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@5616 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@5615 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • The idea is to improve what we currently have, which is relying on java ergonomics and only setting the '-client' and '-server' arguments as default java arguments.  As far as I can see with the new import code, the java ergonomics (this has been reproduced in Solaris and Mac OS X) are not enough to guarantee that the server will be able to make a small import (around 2000 entries) out of the box.
    
    The proposed fix tries to set the following arguments to the server command-lines (start-ds and import-ldif in particular):
    
    -Xms128m -Xmx256m
    
    These arguments will be set if and only if:
    
    They can be used while the setup is being run (and so the JVM supports them and the system where we are running is able to launch a JVM using them).
    
    The ergonomics of the JVM where the setup is being run does not allocate a maximum heap that is higher than those values.  With this check we guarantee that we are not going to allocate less memory than what the JVM already does by default. 
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@5614 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@5612 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • …admin connector certificate)
    Load the admin-truststore when creating the keystore to be used by the graphical utilities.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@5611 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara