From 1649148841be6bc4ac6381d0592dc9ab52438044 Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Sun, 02 Sep 2007 13:05:17 +0000
Subject: [PATCH] - [Issue 1481] Ability to set any JE property in config.ldif - [Issue 2031] provide core JE configurable attributes for FileSystemEntryCache - fixes to entry cache config manager for proper configuration, re-configuration, error reporting.

---
 opends/src/messages/messages/extension.properties |   29 ++++++++++++++---------------
 1 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/opends/src/messages/messages/extension.properties b/opends/src/messages/messages/extension.properties
index a66515c..e31c424 100644
--- a/opends/src/messages/messages/extension.properties
+++ b/opends/src/messages/messages/extension.properties
@@ -124,10 +124,8 @@
  while attempting to determine the value of the ds-cfg-exclude-filter \
  attribute in configuration entry %s:  %s.  All entries will be considered \
  eligible for inclusion in the cache
-SEVERE_ERR_FIFOCACHE_INVALID_MAX_MEMORY_PCT_20=The ds-cfg-max-memory-percent \
- attribute of entry %s, which holds the maximum percentage of JVM memory \
- available for use in the entry cache, has an invalid value:  %s.  Its value \
- must be an integer between 1 and 100
+FATAL_ERR_FIFOCACHE_CANNOT_INITIALIZE_20=A fatal error occurred while trying \
+ to initialize fifo entry cache:  %s
 SEVERE_ERR_FIFOCACHE_INVALID_MAX_ENTRIES_21=The ds-cfg-max-entries attribute \
  of entry %s, which specifies the maximum number of entries that may be held \
  in the entry cache, has an invalid value:  %s.  Its value must be a positive \
@@ -973,9 +971,8 @@
  of time in milliseconds that the entry cache should block while attempting to \
  acquire a lock for an entry.  Changes to this configuration attribute will \
  take effect immediately
-SEVERE_ERR_SOFTREFCACHE_CANNOT_DETERMINE_LOCK_TIMEOUT_279=An error occurred \
- while attempting to determine the value of the ds-cfg-lock-timeout attribute \
- in configuration entry %s:  %s.  The default of %d will be used
+FATAL_ERR_SOFTREFCACHE_CANNOT_INITIALIZE_279=A fatal error occurred while \
+ trying to initialize soft reference entry cache:  %s
 INFO_SOFTREFCACHE_DESCRIPTION_INCLUDE_FILTERS_280=Specifies a set of search \
  filters that may be used to indicate which entries should be included in the \
  entry cache.  Entries that do not match at least one of these filters will \
@@ -1581,7 +1578,7 @@
 SEVERE_ERR_FSCACHE_CANNOT_STORE_PERSISTENT_DATA_487=An error occurred while \
  trying to store persistent cache. Persistent cache will be flushed now
 FATAL_ERR_FSCACHE_CANNOT_INITIALIZE_488=A fatal error occurred while trying \
- to initialize file system entry cache. This cache will be disabled now
+ to initialize file system entry cache:  %s
 SEVERE_ERR_FSCACHE_CANNOT_STORE_ENTRY_489=Unable to store new cache entry in \
  the file system entry cache
 SEVERE_ERR_FSCACHE_CANNOT_RETRIEVE_ENTRY_490=Unable to retrieve an existing \
@@ -1592,21 +1589,23 @@
 SEVERE_ERR_FSCACHE_CANNOT_SET_JE_MEMORY_SIZE_492=Internal error occurred \
  while trying to set the entry cache backend internal cache size in bytes. The \
  previous or default value will be used instead
-FATAL_ERR_FSCACHE_HOMELESS_493=A fatal error occurred while trying to setup \
+SEVERE_ERR_FSCACHE_CANNOT_SET_JE_PROPERTIES_493=Internal error occurred \
+ while trying to set the entry cache backend Berkeley DB JE properties:  %s
+FATAL_ERR_FSCACHE_HOMELESS_494=A fatal error occurred while trying to setup \
  file system entry cache home. No suitable path can be found to host the cache \
  home
-SEVERE_WARN_FSCACHE_SET_PERMISSIONS_FAILED_494=Unable to set file permissions \
+SEVERE_WARN_FSCACHE_SET_PERMISSIONS_FAILED_495=Unable to set file permissions \
  for the file system entry cache backend database directory %s
-SEVERE_WARN_FSCACHE_OFFLINE_STATE_FAIL_495=%s backend current offline state \
+SEVERE_WARN_FSCACHE_OFFLINE_STATE_FAIL_496=%s backend current offline state \
  does not match persistent cache last recorded offline state. All cached data \
  for this backend is now discarded
-NOTICE_FSCACHE_RESTORE_PROGRESS_REPORT_496=Restored %d cache entries of %d \
+NOTICE_FSCACHE_RESTORE_PROGRESS_REPORT_497=Restored %d cache entries of %d \
  total persistent cache entries found
-NOTICE_FSCACHE_SAVE_PROGRESS_REPORT_497=Made persistent %d cache entries of %d \
+NOTICE_FSCACHE_SAVE_PROGRESS_REPORT_498=Made persistent %d cache entries of %d \
  total cache entries found
-NOTICE_FSCACHE_INDEX_NOT_FOUND_498=No previous persistent cache state can be \
+NOTICE_FSCACHE_INDEX_NOT_FOUND_499=No previous persistent cache state can be \
  found. Starting with an empty cache
-SEVERE_ERR_FSCACHE_INDEX_IMPAIRED_499=The persistent cache index is \
+SEVERE_ERR_FSCACHE_INDEX_IMPAIRED_500=The persistent cache index is \
  inconsistent or damaged. Persistent cache will be flushed now
 MILD_ERR_ENTRYUUID_VATTR_NOT_SEARCHABLE_501=The %s attribute is not \
  searchable and should not be included in otherwise unindexed search filters

--
Gitblit v1.10.0