I created a workflow with Workflow Manager in my test environment.
I imported this workflow in a new Composer project and I tried to install a dar containing a workflow on a machine with Documentum 6.7 sp1 and the installation fails.
The error I get is as follows:
[ERROR] Error occurred while parsing: com.documentum.bpm.model.ui.impl.ActivityUIInfoImpl@1c5f088 (imageScale: 100, labelOption: ShowName, wfmStyleImageName: null) with feature: com.documentum.bpm.model.common.impl.DocumentumProxyReferenceImpl@328f60 (documentumType: dm_document, fetchQuery: dm_sysobject where object_name='auto_activity.gif' and FOLDER('/System/Workflow/Images/palette'))
java.lang.RuntimeException: Error occured while executing DQL query: select r_object_id from dm_sysobject where object_name='auto_activity.gif' and FOLDER('/System/Workflow/Images/palette'). Process Engine is either not installed or corrupted in the docbase.
at com.emc.ide.artifact.bpm.v2.util.InstallComposerArtifactReference.findTargetId(InstallComposerArtifactReference.java:104)
at com.emc.ide.artifact.bpm.v2.util.InstallComposerArtifactReference.createDocumentumReference(InstallComposerArtifactReference.java:70)
at com.emc.ide.artifact.bpm.v2.util.InstallComposerArtifactReference.performAction(InstallComposerArtifactReference.java:52)
at com.documentum.bpm.model.utils.EMFUtils.performActionOnExternalReference(EMFUtils.java:156)
at com.documentum.bpm.model.utils.EMFUtils.walkReferenceObject(EMFUtils.java:148)
at com.documentum.bpm.model.utils.EMFUtils.walkModelInstance(EMFUtils.java:31)
at com.documentum.bpm.model.utils.EMFUtils.walkReferenceObject(EMFUtils.java:150)
at com.documentum.bpm.model.utils.EMFUtils.walkModelInstance(EMFUtils.java:35)
at com.documentum.bpm.model.utils.EMFUtils.walkReferenceObject(EMFUtils.java:143)
at com.documentum.bpm.model.utils.EMFUtils.walkModelInstance(EMFUtils.java:35)
at com.emc.ide.artifact.bpm.v2.installer.ProcessContainerArtifactInstaller.fixExternalReference(ProcessContainerArtifactInstaller.java:198)
at com.emc.ide.artifact.bpm.v2.installer.ProcessContainerArtifactInstaller.doPostInstall(ProcessContainerArtifactInstaller.java:179)
at internal.com.emc.ide.installer.DarInstaller.executeAllPostInstallActions(DarInstaller.java:1353)
at internal.com.emc.ide.installer.DarInstaller.doInstall(DarInstaller.java:625)
at internal.com.emc.ide.installer.DarInstaller.doInstall(DarInstaller.java:334)
at com.emc.ide.installer.darinstaller.StandaloneDarInstallerHelper.doInPlaceInstall(StandaloneDarInstallerHelper.java:124)
at com.emc.ide.installer.darinstaller.StandaloneDarInstaller.installDar(StandaloneDarInstaller.java:357)
at com.emc.ide.installer.darinstaller.StandaloneDarInstaller.install(StandaloneDarInstaller.java:113)
at com.emc.ide.installer.darinstaller.ui.DarInstallerComposite$26.run(DarInstallerComposite.java:1537)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: com.documentum.fc.common.DfEndOfCollectionException: [DFC_QUERY_END_OF_COLLECTION] Attempting to read beyond the end of the collection
at com.documentum.fc.client.impl.collection.TypedDataCollection.validateStateForGet(TypedDataCollection.java:109)
at com.documentum.fc.client.impl.collection.TypedDataCollection.doGetString(TypedDataCollection.java:88)
at com.documentum.fc.client.DfTypedObject.getString(DfTypedObject.java:597)
at com.documentum.fc.client.DfTypedObject.getId(DfTypedObject.java:435)
at com.documentum.fc.client.impl.collection.CollectionHandle.getId(CollectionHandle.java:142)
at com.emc.ide.artifact.bpm.v2.util.InstallComposerArtifactReference.findTargetId(InstallComposerArtifactReference.java:102)
... 19 more
[INFO] My_custom_wf install failed.
[ERROR] com.emc.ide.logger.defaultimpl.DmLoggerDefault::getDefaultThrowableMessage (line 100)
com.emc.ide.installer.InstallException: Unexpected error occurred during install.
at internal.com.emc.ide.installer.DarInstaller.handleNetworkException(DarInstaller.java:753)
at internal.com.emc.ide.installer.DarInstaller.doInstall(DarInstaller.java:689)
at internal.com.emc.ide.installer.DarInstaller.doInstall(DarInstaller.java:334)
at com.emc.ide.installer.darinstaller.StandaloneDarInstallerHelper.doInPlaceInstall(StandaloneDarInstallerHelper.java:124)
at com.emc.ide.installer.darinstaller.StandaloneDarInstaller.installDar(StandaloneDarInstaller.java:357)
at com.emc.ide.installer.darinstaller.StandaloneDarInstaller.install(StandaloneDarInstaller.java:113)
at com.emc.ide.installer.darinstaller.ui.DarInstallerComposite$26.run(DarInstallerComposite.java:1537)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.RuntimeException: An error occured while finding external reference for artifact: com.emc.ide.artifactmanager.model.artifact.impl.ArtifactImpl@5f4408 (urn: urnd:com.emc.ide.artifact.bpm.processContainer/WF_CUSTOM?location=%2Fdmadmin%2FWF_CUSTOM&name=WF_CUSTOM, locale: null, repoLocation: null, categoryId: com.emc.ide.artifact.bpm.processContainer, implicitlyCreated: false, modifiedByUser: true)
at com.emc.ide.artifact.bpm.v2.installer.ProcessContainerArtifactInstaller.fixExternalReference(ProcessContainerArtifactInstaller.java:200)
at com.emc.ide.artifact.bpm.v2.installer.ProcessContainerArtifactInstaller.doPostInstall(ProcessContainerArtifactInstaller.java:179)
at internal.com.emc.ide.installer.DarInstaller.executeAllPostInstallActions(DarInstaller.java:1353)
at internal.com.emc.ide.installer.DarInstaller.doInstall(DarInstaller.java:625)
... 6 more
Caused by: java.lang.RuntimeException: Error occurred while parsing: com.documentum.bpm.model.ui.impl.ActivityUIInfoImpl@1c5f088 (imageScale: 100, labelOption: ShowName, wfmStyleImageName: null) with feature: com.documentum.bpm.model.common.impl.DocumentumProxyReferenceImpl@328f60 (documentumType: dm_document, fetchQuery: dm_sysobject where object_name='auto_activity.gif' and FOLDER('/System/Workflow/Images/palette'))
at com.emc.ide.artifact.bpm.v2.util.InstallComposerArtifactReference.performAction(InstallComposerArtifactReference.java:64)
at com.documentum.bpm.model.utils.EMFUtils.performActionOnExternalReference(EMFUtils.java:156)
at com.documentum.bpm.model.utils.EMFUtils.walkReferenceObject(EMFUtils.java:148)
at com.documentum.bpm.model.utils.EMFUtils.walkModelInstance(EMFUtils.java:31)
at com.documentum.bpm.model.utils.EMFUtils.walkReferenceObject(EMFUtils.java:150)
at com.documentum.bpm.model.utils.EMFUtils.walkModelInstance(EMFUtils.java:35)
at com.documentum.bpm.model.utils.EMFUtils.walkReferenceObject(EMFUtils.java:143)
at com.documentum.bpm.model.utils.EMFUtils.walkModelInstance(EMFUtils.java:35)
at com.emc.ide.artifact.bpm.v2.installer.ProcessContainerArtifactInstaller.fixExternalReference(ProcessContainerArtifactInstaller.java:198)
... 9 more
Caused by: java.lang.RuntimeException: Error occured while executing DQL query: select r_object_id from dm_sysobject where object_name='auto_activity.gif' and FOLDER('/System/Workflow/Images/palette'). Process Engine is either not installed or corrupted in the docbase.
at com.emc.ide.artifact.bpm.v2.util.InstallComposerArtifactReference.findTargetId(InstallComposerArtifactReference.java:104)
at com.emc.ide.artifact.bpm.v2.util.InstallComposerArtifactReference.createDocumentumReference(InstallComposerArtifactReference.java:70)
at com.emc.ide.artifact.bpm.v2.util.InstallComposerArtifactReference.performAction(InstallComposerArtifactReference.java:52)
... 17 more
Caused by: com.documentum.fc.common.DfEndOfCollectionException: [DFC_QUERY_END_OF_COLLECTION] Attempting to read beyond the end of the collection
at com.documentum.fc.client.impl.collection.TypedDataCollection.validateStateForGet(TypedDataCollection.java:109)
at com.documentum.fc.client.impl.collection.TypedDataCollection.doGetString(TypedDataCollection.java:88)
at com.documentum.fc.client.DfTypedObject.getString(DfTypedObject.java:597)
at com.documentum.fc.client.DfTypedObject.getId(DfTypedObject.java:435)
at com.documentum.fc.client.impl.collection.CollectionHandle.getId(CollectionHandle.java:142)
at com.emc.ide.artifact.bpm.v2.util.InstallComposerArtifactReference.findTargetId(InstallComposerArtifactReference.java:102)
... 19 more
I realized that the problem is that the result contains references to the bpm but bpm is not present in the target system.
How can I do? I need to uninstall the bpm from the machine where I created the workflow with the workflow manager? If so what are the steps involved?
Any help will be appreciated.
Annalisa