IBM Support

Stand-alone Process designer 5.5.4 fails with Caused by: java.lang.ClassNotFoundException: com.filenet.wcm.toolkit.client.ui.WcmDlgFactory

Troubleshooting


Problem

When to trying to use the stand-alone Process designer 5.5.4 to edit a solution or to add a workflow or open a workflow from an object store it fails with Caused by: java.lang.ClassNotFoundException: com.filenet.wcm.toolkit.client.ui.WcmDlgFactory.

Symptom

Any attempt to access a Content Engine Object Store, or documents in an Object Store, fails with a java.lang.ClassNotFound exception.  The missing class should be in the com.filenet.wcm.toolkit package.

Cause

The problem occurs because a required jar file, applets.jar, is missing.

Environment

This behavior is seen on a Windows or Linux client running the stand-alone Process Designer release 5.5.4.

Diagnosing The Problem

Observe a java.lang.ClassNotFound exception.  The missing class should be in the com.filenet.wcm.toolkit package.
Look in the lib directory that contains the jar files used by the stand-alone Process Designer and confirm that the applets.jar file is missing from the lib directory.  The default location of the lib directory is similar to the following, unless you changed the directory at the time you installed the client tools :
C:\Program Files\IBM\FileNet\ContentEngine\lib
The following is an example of the kind of error and stack that may be seen when this error occurs -
Using connection point: TOS_Default_ConnPt for dossed1/SingleClusterMember1:1 Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com.filenet.wcm.toolkit.client.ui.WcmDlgFactory at filenet.vw.idm.trident.VWTridentFactory.getScope(VWTridentFactory.java:143) at filenet.vw.idm.trident.VWTridentFactory.getBrowseDialog(VWTridentFactory.java:173) at filenet.vw.apps.designer.VWSolutionHelper.performEditSolutionAction(VWSolutionHelper.java:561) at filenet.vw.apps.designer.VWDesignerCoreData.performEditSolutionAction(VWDesignerCoreData.java:560) at filenet.vw.apps.designer.VWDesignerCore.actionPerformed(VWDesignerCore.java:402) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2033) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2359) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:413) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:270) at javax.swing.AbstractButton.doClick(AbstractButton.java:387) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:853) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:897) at java.awt.Component.processMouseEvent(Component.java:6550) at javax.swing.JComponent.processMouseEvent(JComponent.java:3335) at java.awt.Component.processEvent(Component.java:6315) at java.awt.Container.processEvent(Container.java:2250) at java.awt.Component.dispatchEventImpl(Component.java:4900) at java.awt.Container.dispatchEventImpl(Container.java:2308) at java.awt.Component.dispatchEvent(Component.java:4722) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4915) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4546) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4487) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Window.dispatchEventImpl(Window.java:2757) at java.awt.Component.dispatchEvent(Component.java:4722) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771) at java.awt.EventQueue.access$500(EventQueue.java:108) at java.awt.EventQueue$3.run(EventQueue.java:720) at java.awt.EventQueue$3.run(EventQueue.java:714) at java.security.AccessController.doPrivileged(AccessController.java:704) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.awt.EventQueue$4.run(EventQueue.java:744) at java.awt.EventQueue$4.run(EventQueue.java:742) at java.security.AccessController.doPrivileged(AccessController.java:704) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.awt.EventQueue.dispatchEvent(EventQueue.java:741) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:216) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:127) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:112) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:104) at java.awt.EventDispatchThread.run(EventDispatchThread.java:93) Caused by: java.lang.ClassNotFoundException: com.filenet.wcm.toolkit.client.ui.WcmDlgFactory at java.net.URLClassLoader.findClass(URLClassLoader.java:610) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:935) at java.lang.ClassLoader.loadClass(ClassLoader.java:880) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:343) at java.lang.ClassLoader.loadClass(ClassLoader.java:863) ... 43 more
 

Resolving The Problem

Resolve the problem by putting a copy of the applets.jar jar file into the lib directory and restarting the stand-alone Process Designer application.
The default location of the lib directory is similar to the following, unless you changed the directory at the time you installed the client tools :
C:\Program Files\IBM\FileNet\ContentEngine\lib
You can download the copy of applets.jar that is attached to this technote.

Document Location

Worldwide

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNW2F","label":"FileNet P8 Platform"},"Component":"Stand-alone Process Designer","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"5.5.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 January 2020

UID

ibm11171240