Bizarre error with DA 6.5

For some reason Documentum Administrator 6.5 SP3 started failing with following error:

12:13:18,400 DEBUG [main] com.documentum.debug.Trace - An error occurred during application intialization. Lookup dictionary 'scope-global': Duplicate element 'step[id=delete_object_processing]', scope='aspect='*', type='dm_message_container', format='*', domain='*', application='operations'', config files='C:\Documentum\local\process3237028314044277291.tmp\0\060007c580002e80.xml' and 'C:\Documentum\local\process3237028314044277291.tmp\0\060007c5800002b9.xml'
12:13:18,402 ERROR [main] com.documentum.web.common.Trace - An error occurred during application intialization : Lookup dictionary 'scope-global': Duplicate element 'step[id=delete_object_processing]', scope='aspect='*', type='dm_message_container', format='*', domain='*', application='operations'', config files='C:\Documentum\local\process3237028314044277291.tmp\0\060007c580002e80.xml' and 'C:\Documentum\local\process3237028314044277291.tmp\0\060007c5800002b9.xml'
java.lang.IllegalStateException: Lookup dictionary 'scope-global': Duplicate element 'step[id=delete_object_processing]', scope='aspect='*', type='dm_message_container', format='*', domain='*', application='operations'', config files='C:\Documentum\local\process3237028314044277291.tmp\0\060007c580002e80.xml' and 'C:\Documentum\local\process3237028314044277291.tmp\0\060007c5800002b9.xml'
  at com.documentum.services.config.impl.PrimaryElementsByScopeDictionary.put(Unknown Source)
  at com.documentum.services.config.impl.ConfigService.initialiseConfigFile(Unknown Source)
  at com.documentum.services.config.impl.ConfigService.initialiseApp(Unknown Source)
  at com.documentum.services.config.impl.ConfigService.initialiseApp(Unknown Source)
  at com.documentum.services.config.impl.ConfigService.loadConfig(Unknown Source)
  at com.documentum.operations.impl.config.ConfigManager.initializeConfigService(ConfigManager.java:438)
  at com.documentum.operations.impl.config.ConfigManager.newConfigService(ConfigManager.java:335)
  at com.documentum.operations.impl.config.ConfigManager.getConfigService(ConfigManager.java:499)
  at com.documentum.operations.impl.config.ConfigManager.lookupPopulator(ConfigManager.java:223)
  at com.documentum.operations.impl.OperationNodeTreeBuilder.populate(OperationNodeTreeBuilder.java:574)
  at com.documentum.operations.impl.OperationNodeTreeBuilder.add(OperationNodeTreeBuilder.java:64)
  at com.documentum.operations.DfOperation.add(DfOperation.java:320)

It took me some time to find the culprit and decided describe it because I couldn’t find any solution on the Internet.

So this error will show up only when you load a dump from another repository, in such cases some duplicate objects will be created and this will cause the problem.

The solution is to remove duplicate objects delete.xml and delete_dm_message_archive.xml from /System/Operations/1/Config/Message and /System/Operations/1/Config/Attachment folders.

And to avoid such issues in future it is recommended to rename /System/Operations folder before loading the exported content.

One thought on “Bizarre error with DA 6.5

Leave a Reply

Your email address will not be published. Required fields are marked *