Unable to access global registry when installing a documentum project

Jeremy Saumen
Jeremy Saumen Member
edited March 25, 2015 in Documentum #1

Hi there,

I'm trying to package a new dm_method + module using composer an I'm facing an issue.

During the installation several other objects have to be created and one of them is using a TBO which instantiates an SBO during its doSave() method. Unfortunately, despite the fact that my Composer dfc.properties seems to have the required information (dfc.globalregistry.username, dfc.globalregistry.password and dfc.globalregistry.repository), when I launch the installation process, the following error appears :

[FATAL]  An unexpected error has occurred during installation.

For more details, check the most recent error log located by default in 'C:\Temp\documentum\'.
com.emc.ide.installer.InstallException: Exception saving installable object: Status = New; IsInstalled = false; com.emc.ide.artifact.sysobject.model.sysobject.impl.SysobjectSubtypeImpl@13faab1 (objectTypeName: null) (objectName: Tax_template annual file.xlsx, title: Tax_template annual file.xlsx, subject: null, authors: [], keywords: [], applicationType: null, isHidden: false, compoundArchitecture: null, componentLabel: [], resolutionLabel: null, contentType: null, versionLabel: [], specialApp: null, languageCode: null, creatorName: null, archive: false, category: null, controllingApp: null, effectiveDate: [], effectiveFlag: [], effectiveLabel: [], expirationDate: [], extendedProperties: [], fullText: false, isSigned: false, isTemplate: true, lastReviewDate: null, linkResolved: false, publishFormats: [], retentionDate: null, status: null, rootObject: true);  Object ID = 09022123803736a6;
     at internal.com.emc.ide.installer.DarInstaller.installObject(DarInstaller.java:1199)
     at internal.com.emc.ide.installer.DarInstaller.installObjects(DarInstaller.java:1132)
     at internal.com.emc.ide.installer.DarInstaller.installAllObjects(DarInstaller.java:1113)
     at internal.com.emc.ide.installer.DarInstaller.doInstall(DarInstaller.java:601)
     at internal.com.emc.ide.installer.DarInstaller.doInstall(DarInstaller.java:334)
     at internal.com.emc.ide.installer.DarInstaller.doInstall(DarInstaller.java:303)
     at com.emc.ide.installer.popup.actions.InstallOperation.installDar(InstallOperation.java:215)
     at com.emc.ide.installer.popup.actions.InstallOperation.run(InstallOperation.java:80)
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: com.emc.ide.installer.InstallException: failed to save object (090220c5803736a6)
     at internal.com.emc.ide.installer.DarInstaller.saveObject(DarInstaller.java:2023)
     at internal.com.emc.ide.installer.DarInstaller.installObject(DarInstaller.java:1196)
     ... 8 more
Caused by: DfServiceException:: THREAD: ModalContext; MSG: [DFC_BOF_CANNOT_FIND_OBJECT] Business object com.company.business.sbo.ecm.location.ICreateLocationServiceBO does not exist in docbase GLOBALR; ERRORCODE: ff; NEXT: null
     at com.documentum.fc.client.impl.bof.registry.GlobalModuleRegistry.lookup(GlobalModuleRegistry.java:64)
     at com.documentum.fc.client.impl.bof.classmgmt.ModuleManager.lookupModuleMetadata(ModuleManager.java:187)
     at com.documentum.fc.client.impl.bof.classmgmt.ModuleManager.getModuleClass(ModuleManager.java:174)
     at com.documentum.fc.client.impl.bof.classmgmt.ModuleManager.newModule(ModuleManager.java:134)
     at com.documentum.fc.client.impl.bof.classmgmt.ModuleManager.newService(ModuleManager.java:85)
     at com.documentum.fc.client.DfClient$ClientImpl.newService(DfClient.java:447)
     at com.company.business.template.tbo.TemplateDocument.createLocations(TemplateDocument.java:216)
     at com.company.business.template.tbo.TemplateDocument.checkLocation(TemplateDocument.java:42)
     at com.company.business.template.tbo.TemplateDocument.doSave(TemplateDocument.java:88)
     at com.documentum.fc.client.DfPersistentObject.saveEx(DfPersistentObject.java:912)
     at com.documentum.fc.client.DfSysObject.saveLock(DfSysObject.java:190)
     at com.company.business.template.tbo.TemplateDocument___PROXY.saveLock(TemplateDocument___PROXY.java)
     at internal.com.emc.ide.installer.DarInstaller.saveObject(DarInstaller.java:2016)
     ... 9 more
Caused by: DfException:: THREAD: ModalContext; MSG: [DFC_BOF_GLOBAL_REGISTRY_UNAVAILABLE] Unable to connect to the global registry GLOBALR; ERRORCODE: ff; NEXT: null
     at com.documentum.fc.client.impl.bof.registry.GlobalModuleRegistry.lookup(GlobalModuleRegistry.java:56)
     ... 21 more

When I create the same object outside of Composer, the save process is working and the cache directory contains the necessary jars, contrary to the cache directory of Composer which contains the jars of the TBO but not the jars from the global registry.

Has anyone faced the same issue and found a solution/workaround for this problem ?

Thanks in advance

Tagged: