Home Documentum

Workflow saving issue

edited February 14, 2017 in Documentum

Hi,

I have designed a workflow with six (6) activities. When I try to save, it never gets finished...Saving popup window remains forever saying "saving activity "Approver-Marketing" showing 100%. I could save completely. Without saving I cannot validate and install the workflow.

When I try to save the workflow, I see the following in the command window that pops up when I run "launch_wfm.bat":

C:\Composer 6.7\Composer\WorkflowManager\wfm\classes>java -Dsun.java2d.noddraw=t
rue -cp "lib\jlayout20.jar;lib\jloox20.jar;lib\wfde.jar;lib\DfWFUtilJNI.dll;..\.
.\..\plugins\com.emc.ide.external.dfc_1.0.0\lib\dfc.jar;..\..\..\plugins\com.emc
.ide.external.dfc_1.0.0\lib\Dart.jar;..\..\..\plugins\com.emc.ide.external.dfc_1.0.0\documentum.config;" WorkflowEditor
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: com.documentum.workflow.eventserver.DcEventDispatchJNI.newInstanceJNI()J        at com.documentum.workflow.eventserver.DcEventDispatchJNI.newInstanceJNI
(Native Method) at com.documentum.workflow.eventserver.DcEventDispatchJNI.<init>(Unknown Source)
        at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.getEventDispatcher(Unknown Source)
        at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.createDocbaseObjEventData(Unknown Source)
        at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.sendSaveProcessEvent(Unknown Source)
        at com.documentum.workflow.editor.DfEditorWorkflowProcess.reallySave(Unknown Source)
        at com.documentum.workflow.editor.DfWorkflowProgressBox.windowActivated(Unknown Source)
        at com.documentum.workflow.editor.DfEditorWorkflowProcess.startSaveProgressIndicator(Unknown Source)
        at com.documentum.workflow.editor.DfEditorWorkflowProcess.save(Unknown Source)
        at com.documentum.workflow.editor.DfWorkflowEditor.save(Unknown Source)
        at com.documentum.workflow.editor.DfWorkflowEditor.doSaveProcess(Unknown Source)
        at com.documentum.workflow.editor.DfWorkflowEditor.actionPerformed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: com.docum
entum.workflow.eventserver.DcEventDispatchJNI.newInstanceJNI()J
        at com.documentum.workflow.eventserver.DcEventDispatchJNI.newInstanceJNI(Native Method)
        at com.documentum.workflow.eventserver.DcEventDispatchJNI.<init>(Unknown Source)
        at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.getEventDispatcher(Unknown Source)
        at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.createDocbaseObjEventData(Unknown Source)
        at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.sendSaveProcessEvent(Unknown Source)
        at com.documentum.workflow.editor.DfEditorWorkflowProcess.reallySave(Unknown Source)
        at com.documentum.workflow.editor.DfWorkflowProgressBox.windowActivated(Unknown Source)
        at java.awt.Window.processWindowEvent(Unknown Source)
        at javax.swing.JDialog.processWindowEvent(Unknown Source)
        at java.awt.Window.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.SentEvent.dispatch(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.sendMessage(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.SequencedEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Note: I need to run "launch_wfm.bat" to get Workfloe manager in Composer 6.7.

Please share your knowledge and experience and help me.

Thanks.

ta

Tagged:

Comments

  • edited July 18, 2012

    Were you able to solve this issue??  as we get the same thing.  Workflow manager hangs on save, validate, install, unistall... the workaround of shutting down workflow manager and relogging in and reopening the workflow is driving me batty!!

  • edited July 19, 2012

    When I opened Workflow Manager through Documentum Administrator, I did not get such error when a workflow is saved.

    While in DA, you need to do File -> New -> Workflow Template. A warning window will popup. Select "No".

    Later we moved to Process Builder which is the best option to create more powerful workflow templates with more custom activities.

  • edited July 19, 2012

    FYI - even though Workflow Manager is still part of Documentum, its only there from backwards compatibility perspective.  The code is probably over 10 yrs old.  I would even go further to guess that the Composer product team probably doesnt regression test a lot (if not at all) against WFM.

    Composer is designed to work with Process Builder and the rest of the xCP products.

  • edited December 16, 2013

    The resolution for this issue is to run Workflow Manager with a 32-bit JRE. For me this issue occurred when my JAVA_HOME pointed to JDK 1.6.45 x64.

    To fix this issue I edited the launch_wfm.bat and changed java in the last line to:

    "C:\Program Files (x86)\Java\jdk1.6.0_45\bin\java.exe" -Dsun.java2d.noddraw=true

    Of course you should provide a proper path to the 32bit java on your system.

  • edited February 2, 2016

    solved mine

  • meabhishekmeabhishek Abhishek Pandey
    edited February 14, 2017

    Fixed my problem too!

    Thanks!

  • Thank you!

Sign In or Register to comment.