Problem : Preference repository
When I start tomcat server (where webtop is deployed), I can see the following error message on console
16:19:01,058 ERROR [main] com.documentum.web.common.Trace – Preference repositor
y is not available, reason: repository credentials are not valid
com.documentum.web.env.PreferenceRepository$DisabledException: repository creden
tials are not valid
Can someone please let me know what is the impact of Preference repository not available and how can I enable it. Also, does this have an impact on the TBO execution? The TBOs in my repository are not getting executed. Could this be the reason?
Solution: Preference repository
Do these lines have the same values that the ones on the dfc.properties con the Content Server? Also the repository name could be wrong. Here is additional information I got from the Documentum Support Site:
Users can log in to DA or WDK application, however, there are still errors thrown in the application server log indicating there is a problem with authentication to the preference repository.
Preference repository is not available, reason: repository credentials are not valid
com.documentum.web.env.PreferenceRepository$DisabledException: repository credentials are not valid
Caused by: DfException:: THREAD: Thread-1; MSG: [DM_API_E_QUERY_FAIL]error: “Query failed: select r_object_id from dm_sysobject where folder (‘/Resources/Registry/Preferences’) and object_name = ‘Webtop'”; ERRORCODE: 100; NEXT: null
Caused by: DfException:: THREAD: Thread-1; MSG: [DM_QUERY_E_NOT_RESTRICTED_FOLDER_PATH]error: “You have specified a folder path ( ‘/Resources/Registry/Preferences’ ) that is not a folder (or subfolder of a folder) in the user’s restricted_folder_ids.”;
a. The dm_bof_registry object does not contain of ‘/Resources/Registry/Preferences’ object on restricted_folder_ids attributes.
b. The dmc_wdk_preferences_owner authencitcation failed.
c. Cabinet permission dm_world is not read for ‘/Resources/Registry/Preferences’.
1. Log in to DA as admin user and navigate to Cabinet-> Resources-> Registry. Right click the Preferences in the right window and select Properties. Select the Show all Properties checkbox. Get the r_object_id.
2. Check the r_object_id is one of the restricted_folder_ids[0-x]:
3. If r_object_id is not one of the above ids, try the following api. Go to api tester on DA.
API>id,c, dm_user where user_name=’dm_bof_registry’
DATA>r_object_id# from step
b. Log in to DA, and change the dmc_wdk_preferences_owner back to default password (webtop).
c. Check each cabinets/folder of Resource, Registry and preferneces. The permission of dm_world should be read. It might be due to upgrading, sometimes the dm_world is none for those cabinets and folders.