11 Dec, 2007
1 commit
10 Dec, 2007
1 commit
-
If the Replication Server is stopped while the ServerHandler writer threads are blocked waiting for some window credit they are blocked and don't stop immediately. This issue is minimal for real life but can cause unit test failure because replication Servers are stopped and started a number of times during the tests. This commit also enabled some more replication tests and change them to make the order in which they are run more predictible. git-svn-id: https://svn.forgerock.org/opendj/trunk@3542 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Dec, 2007
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3539 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3537 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Dec, 2007
2 commits
-
The classes in org.opends.messages need to be made public so that they can be referenced from other public APIs. This change adds the PublicAPI annotation to the classes defined in this package as follows: * the org.opends.messages package is VOLATILE * the org.opends.messages core classes (Message, MessageDescriptor, MessageBuilder, Category, and Severity) are all UNCOMMITTED * the class org.opends.messages.MessageDescriptorRegistry is PRIVATE (it's only used in unit tests) * generated message classes are PRIVATE In addition minor cleanup was made to the classes where appropriate to make them suitable for public APIs: * used "final" where possible * reduced visibility of classes, methods, and members where appropriate * fixed some potential bugs spotted during this clean-up: class members not being initialized (the "final" keyword is useful for spotting this!) * added missing javadoc * I've removed the third-party and user-defined message generation since we could see know way in which they could be easily used without impacting core OpenDS source git-svn-id: https://svn.forgerock.org/opendj/trunk@3536 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
dsreplication enable fails to initialise schema of the peer if the user schema contains a new objectClass dependent on a new attributeType. This was happening because the validation of the new objectClasses was done using the old schema while it must be done with the new schema currently being modified. git-svn-id: https://svn.forgerock.org/opendj/trunk@3532 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Dec, 2007
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3530 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Dec, 2007
3 commits
-
make sure each entry cache monitor has its unique name. git-svn-id: https://svn.forgerock.org/opendj/trunk@3529 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Reset the generation ID after the initialize all task. git-svn-id: https://svn.forgerock.org/opendj/trunk@3528 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3525 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Dec, 2007
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3522 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3521 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
When the changelog trimming meet a database Exception, it tries to close the DB on which the problem happens. Unfortunately the close waits for the trim thread to complete before returning. We therefore end in a situation where trim thread deadlock itself. Since it is also holding other locks at this point it causes a dealock of the whole Replication Server. The solution is simply to break the loop. After this fix we still have to find the reason for the DB Exception. git-svn-id: https://svn.forgerock.org/opendj/trunk@3519 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Dec, 2007
1 commit
-
…d init/fini processing relevant to entry cache for all active entry cache implementations instead of letting each entry cache implementation to be BackendInitializationListener on its own which can lead to unexpected results such as listener activity on already finilized entry cache implementation. git-svn-id: https://svn.forgerock.org/opendj/trunk@3517 41b1ffd8-f28e-4786-ab96-9950f0a78031
02 Dec, 2007
1 commit
-
- [Issue 2049] dsconfig is unable to configure the entry cache. git-svn-id: https://svn.forgerock.org/opendj/trunk@3513 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Nov, 2007
3 commits
-
If the usage was already displayed, return in the launch function. git-svn-id: https://svn.forgerock.org/opendj/trunk@3510 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3506 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3504 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Nov, 2007
2 commits
-
… Also reword the usage of the base64 command for consistency. git-svn-id: https://svn.forgerock.org/opendj/trunk@3500 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
In this particular case of conflict resolution, the newSuperior was null and this was causing some Exception. The solution is simply to test for this condition and generate a conflict. Also added a unit test for this particular case. git-svn-id: https://svn.forgerock.org/opendj/trunk@3499 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Nov, 2007
2 commits
-
The fix consists in including a little bit more on context to the error message. For command-line dsconfig list-local-db-indexes --backend-name tasks -n -p 1389 -w s The output was: "Task Backend" is not a recognized component type With the fix the output is: "Task Backend" component type cannot be used with subcommand {list-local-db-indexes} git-svn-id: https://svn.forgerock.org/opendj/trunk@3497 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
Fix for Issue #1961 (reviewed by Josu) * Remove instances of "Specifies the..." * Remove instances of "Indicates that..." * Reword instances of "Specifies to..." (which doesn't really make sense anyway) * Change instances of "This utility may be used..." to "This utility can be used..." as discussed in a previous issue * Change some erroneous instances of "may" to "might" or "can". This might sound like a pointless change but it has implications for localization - "may" is generally ambiguous. git-svn-id: https://svn.forgerock.org/opendj/trunk@3496 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Nov, 2007
1 commit
-
…lue for ldif-directory property) We check now if it's an absolute path. If it's a relative path, we add the instance root path to get the actual ldif-directory location git-svn-id: https://svn.forgerock.org/opendj/trunk@3492 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Nov, 2007
4 commits
-
The fix consists on creating a TopologyCache even if the ADS does not exist. The code in TopologyCache will generate an exception describing the problem (if any). git-svn-id: https://svn.forgerock.org/opendj/trunk@3487 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The problem is that the root server entry is not created by default (it is used by some parts of the code to know if the ADS was initialized or not). The fix consists of updating the ADSContext.registerServer method to check if the parent entry exists. The check is only applied here since this is a particular case (and by default this check is not required for other entries in the ADS). git-svn-id: https://svn.forgerock.org/opendj/trunk@3486 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The upgrader is breaking replication (and not just dsreplication). The problem occurs because the upgrader is systematically overwriting the contents of the admin-backend.ldif file when it should not. The fix consists on not updating this file unless it does not exist. The same fix has been applied to tool.properties since it was also systematically overwritten (and so the user lost the changes made to it). Appart some fixes related to message formatting are also included in the attached diff file. The code used to display messages with HTML formatting in CLI mode, so specific messages have been added when the upgrade is run from the command line. Finally the code of the upgrader has been updated to use the MenuBuilder class. This is done to have a consistent output with the rest of the command-lines. git-svn-id: https://svn.forgerock.org/opendj/trunk@3485 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Nov, 2007
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3473 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3472 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Nov, 2007
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3471 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ks to avoid problems with DN comparison in the code of the QuickSetup. git-svn-id: https://svn.forgerock.org/opendj/trunk@3470 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
If provided value exceeds lomg.MAX_VALUE, we now throw and exception git-svn-id: https://svn.forgerock.org/opendj/trunk@3469 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Nov, 2007
3 commits
-
Change the labels of the Certificate Dialog and add a new button to be able to update the certificate permanently. The modifications only apply to graphical interface since the command-line utilities already allow the user to accept permanently the certificates. These modifications include also a fix in ApplicationTrustManager which did not parse properly the Subject DN of the certificate and reported systematically a host name mismatch. git-svn-id: https://svn.forgerock.org/opendj/trunk@3468 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@3466 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
notifyErr and notifyComp was reversed. git-svn-id: https://svn.forgerock.org/opendj/trunk@3465 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Nov, 2007
5 commits
-
This relates to issue 1829. git-svn-id: https://svn.forgerock.org/opendj/trunk@3462 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
There is a problem in windows when we launch scripts using Runtime.exec if the script path contains a '=' character. The fix consists on quoting the script paths on windows when we launch them using Runtime.exec. git-svn-id: https://svn.forgerock.org/opendj/trunk@3461 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
of component definitions as advanced and customizable: * advanced components: these will not be displayed by default in dsconfig. Examples include the various system backends * customizable components: these components are tagged as intended for customization using the CLI XML profile. Customizable components are usually the top level components previously referred to as "generic" by dsconfig. This term confused users who would, for example, mistake a "generic" backend for a JE backend. This change is part of issue 1829. git-svn-id: https://svn.forgerock.org/opendj/trunk@3460 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…the user already provided it. git-svn-id: https://svn.forgerock.org/opendj/trunk@3459 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
various clean-up to the XML definitions: * clean up typos and any bad grammar in the synopsis/description elements * fixed common errors. For example, there were many places where the synopsis was repeated in the description (the description is only ever used in conjunction with the synopsis). There were also many places where the <adm:user-friendly-name> was being used in property definition description elements to refer to the property name, when it actually refers to the managed object name * split big synopsis (not sure of the plural form - synopsi?) where possible - there were lots of cases where we'd have a big synopsis but no description * overrode properties with sensible default values where appropriate (for example, I provided sensible default values for some of the attribute-type properties in the virtual attribute definitions) * generally made documentation more consistent across the definitions * removed unneeded XML attributes of the form 'mandatory="false"'. Attributes only need to be specified if their value is true as they default to false. Adding redundant attributes just makes the XML harder to read * removed any documentation that referred to the configuration in LDAP related terms (with one exception in the Schema backend). All documentation now refers to other properties using the property names, not their associated LDAP attribute. git-svn-id: https://svn.forgerock.org/opendj/trunk@3456 41b1ffd8-f28e-4786-ab96-9950f0a78031