The default value of "DN Cache" parameter for all types of datastores should be disabled.
However, the default value of "DN Cache" parameter for the following three datastore types are enabled.
OpenDJ
Sun DS with OpenAM schema
Tivoli Directory Server
If "DN Cache" is enabled in the data store settings, the data store update is not reflected because the DN cache remains.
In the actual modification, simply disabling the default value of "DN Cache" is sufficient for new installations, but for upgrades, the schema is not updated, so the "DN Cache" remains enabled unless the schema is rewritten.
Solution
Fixes for new installations
Fix the default value of "DN Cache" parameter.
File:
If the schema has an existing update process, implement the helper class.
If the schema has an existing update process, modify the helper class.
add the attribute you want to update to the class variable attributes.
If you have detailed controls over new attributes, such as controls only under certain conditions, modify the addNewAttribute method.
The value responded to in the addNewAttribute method will be the updated value; if null is responded, it will not be updated (keep the existing value).
If you have detailed controls over existing attributes, such as controls only under certain conditions, modify the upgradeAttribute method.
The value responded to in the upgradeAttribute method will be the updated value; if null is responded, it will not be updated (keep the existing value).
File:
Description
The default value of "DN Cache" parameter for all types of datastores should be disabled. However, the default value of "DN Cache" parameter for the following three datastore types are enabled.
In the actual modification, simply disabling the default value of "DN Cache" is sufficient for new installations, but for upgrades, the schema is not updated, so the "DN Cache" remains enabled unless the schema is rewritten.
Solution
Fixes for new installations
Fix the default value of "DN Cache" parameter. File:
Fixes for upgrades
Check
serverupgrade.properties
.add
the attribute you want to update to the class variableattributes
.addNewAttribute
method.addNewAttribute
method will be the updated value; if null is responded, it will not be updated (keep the existing value).upgradeAttribute
method.upgradeAttribute
method will be the updated value; if null is responded, it will not be updated (keep the existing value). File: