BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Configure Case Manager on IBM BAW 20.X

    Posted Sun June 20, 2021 08:25 AM
    I am trying to configure the case manager on the IBM BAW. I have successfully installed IBM BPM, Now I want to enable Case Manager.
    I am getting an error while performing pre requisites to create the design object store, target object store, and other necessary items before you can use the embedded Content Platform Engine using the command.i.e createObjectStoreForContent 

    When I run this command I get the below error. Is there any configuration i have to do before running this command

    Error- 
    WASX7015E: Exception running command: "AdminTask.createObjectStoreForContent(['-clusterName', 'Cluster1', '-PEWorkflowSystemAdminGroup', 'adminGroup2','-creationUser','deadminuser','-password','deadminuser'])"; exception information:
    com.ibm.websphere.management.exception.ConnectorException
    org.apache.soap.SOAPException: [SOAPException: faultCode=SOAP-ENV:Client; msg=com.filenet.api.exception.EngineRuntimeException
    Server stack trace
    JMXTransformException java.lang.ClassNotFoundException: com.filenet.api.exception.EngineRuntimeException
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:333)
    at com.ibm.ws.util.WsObjectInputStream.loadClass(WsObjectInputStream.java:229)
    at com.ibm.ws.util.WsObjectInputStream.access$000(WsObjectInputStream.java:55)
    at com.ibm.ws.util.WsObjectInputStream$2.run(WsObjectInputStream.java:193)
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
    at com.ibm.ws.util.WsObjectInputStream.resolveClass(WsObjectInputStream.java:166)
    at com.ibm.ws.util.WsObjectInputStream.resolveClass(WsObjectInputStream.java:158)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:2017)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1900)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2194)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1722)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2439)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2363)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2221)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1722)
    at java.io.ObjectInputStream.readObjectImpl(ObjectInputStream.java:540)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:475)
    at com.ibm.ws.management.connector.soap.GenericSerializer.unmarshall(GenericSerializer.java:218)
    at org.apache.soap.util.xml.XMLJavaMappingRegistry.unmarshall(XMLJavaMappingRegistry.java:314)
    at org.apache.soap.encoding.soapenc.ParameterSerializer.unmarshall(ParameterSerializer.java:201)
    at org.apache.soap.util.xml.XMLJavaMappingRegistry.unmarshall(XMLJavaMappingRegistry.java:314)
    at org.apache.soap.rpc.RPCMessage.unmarshall(RPCMessage.java:417)
    at org.apache.soap.rpc.RPCMessage.extractFromEnvelope(RPCMessage.java:197)
    at org.apache.soap.rpc.Response.extractFromEnvelope(Response.java:142)
    at org.apache.soap.rpc.Call.WASinvoke(Call.java:537)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient$8.run(SOAPConnectorClient.java:861)
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplateOnce(SOAPConnectorClient.java:854)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:697)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:687)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:673)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:495)
    at com.sun.proxy.$Proxy3.invoke(Unknown Source)
    at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:224)
    at com.ibm.ws.management.cmdframework.impl.ClientTaskCommand.execute(ClientTaskCommand.java:321)
    at com.ibm.websphere.management.async.client.AsyncCommandClient.execute(AsyncCommandClient.java:177)
    at com.ibm.ws.scripting.adminCommand.AdminCmdController.executeCmd(AdminCmdController.java:1877)
    at com.ibm.ws.scripting.adminCommand.AdminCmdController.processCmd(AdminCmdController.java:318)
    at com.ibm.ws.scripting.adminCommand.AdminCmdProxyHandler.invoke(AdminCmdProxyHandler.java:92)
    at com.ibm.ws.scripting.adminCommand.AdminCmdProxyBase.__method4(AdminCmdProxyBase.java:58)
    at com.ibm.ws.scripting.adminCommand.AdminTask.createObjectStoreForContent(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
    at org.python.core.PyMethod.__call__(PyMethod.java)
    at org.python.core.PyObject.__call__(PyObject.java)
    at org.python.core.PyInstance.invoke(PyInstance.java)
    at org.python.pycode._pyx75.f$0(<input>:1)
    at org.python.pycode._pyx75.call_function(<input>)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyCode.call(PyCode.java)
    at org.python.core.Py.runCode(Py.java)
    at org.python.core.Py.exec(Py.java)
    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
    at com.ibm.bsf.engines.jython.JythonEngine$BSFPythonInterpreter.runcode(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java)
    at com.ibm.bsf.engines.jython.JythonEngine.iexec(Unknown Source)
    at com.ibm.bsf.BSFManager$7.run(Unknown Source)
    at java.security.AccessController.doPrivileged(AccessController.java:734)
    at com.ibm.bsf.BSFManager.iexec(Unknown Source)
    at com.ibm.ws.scripting.AbstractShell.interactive(AbstractShell.java:1399)
    at com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:2299)
    at com.ibm.ws.scripting.WasxShell.main(WasxShell.java:1172)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:234)
    at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:96)
    at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:77)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
    at org.eclipse.core.launcher.Main.run(Main.java:981)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:424)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:177)

    Client stackTrace
    ; targetException=java.lang.IllegalArgumentException: com.filenet.api.exception.EngineRuntimeException
    Server stack trace
    JMXTransformException java.lang.ClassNotFoundException: com.filenet.api.exception.EngineRuntimeException
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:333)
    at com.ibm.ws.util.WsObjectInputStream.loadClass(WsObjectInputStream.java:229)
    at com.ibm.ws.util.WsObjectInputStream.access$000(WsObjectInputStream.java:55)
    at com.ibm.ws.util.WsObjectInputStream$2.run(WsObjectInputStream.java:193)
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
    at com.ibm.ws.util.WsObjectInputStream.resolveClass(WsObjectInputStream.java:166)
    at com.ibm.ws.util.WsObjectInputStream.resolveClass(WsObjectInputStream.java:158)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:2017)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1900)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2194)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1722)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2439)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2363)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2221)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1722)
    at java.io.ObjectInputStream.readObjectImpl(ObjectInputStream.java:540)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:475)
    at com.ibm.ws.management.connector.soap.GenericSerializer.unmarshall(GenericSerializer.java:218)
    at org.apache.soap.util.xml.XMLJavaMappingRegistry.unmarshall(XMLJavaMappingRegistry.java:314)
    at org.apache.soap.encoding.soapenc.ParameterSerializer.unmarshall(ParameterSerializer.java:201)
    at org.apache.soap.util.xml.XMLJavaMappingRegistry.unmarshall(XMLJavaMappingRegistry.java:314)
    at org.apache.soap.rpc.RPCMessage.unmarshall(RPCMessage.java:417)
    at org.apache.soap.rpc.RPCMessage.extractFromEnvelope(RPCMessage.java:197)
    at org.apache.soap.rpc.Response.extractFromEnvelope(Response.java:142)
    at org.apache.soap.rpc.Call.WASinvoke(Call.java:537)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient$8.run(SOAPConnectorClient.java:861)
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplateOnce(SOAPConnectorClient.java:854)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:697)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:687)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:673)
    at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:495)
    at com.sun.proxy.$Proxy3.invoke(Unknown Source)
    at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:224)
    at com.ibm.ws.management.cmdframework.impl.ClientTaskCommand.execute(ClientTaskCommand.java:321)
    at com.ibm.websphere.management.async.client.AsyncCommandClient.execute(AsyncCommandClient.java:177)
    at com.ibm.ws.scripting.adminCommand.AdminCmdController.executeCmd(AdminCmdController.java:1877)
    at com.ibm.ws.scripting.adminCommand.AdminCmdController.processCmd(AdminCmdController.java:318)
    at com.ibm.ws.scripting.adminCommand.AdminCmdProxyHandler.invoke(AdminCmdProxyHandler.java:92)
    at com.ibm.ws.scripting.adminCommand.AdminCmdProxyBase.__method4(AdminCmdProxyBase.java:58)
    at com.ibm.ws.scripting.adminCommand.AdminTask.createObjectStoreForContent(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
    at org.python.core.PyMethod.__call__(PyMethod.java)
    at org.python.core.PyObject.__call__(PyObject.java)
    at org.python.core.PyInstance.invoke(PyInstance.java)
    at org.python.pycode._pyx75.f$0(<input>:1)
    at org.python.pycode._pyx75.call_function(<input>)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyCode.call(PyCode.java)
    at org.python.core.Py.runCode(Py.java)
    at org.python.core.Py.exec(Py.java)
    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
    at com.ibm.bsf.engines.jython.JythonEngine$BSFPythonInterpreter.runcode(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java)
    at com.ibm.bsf.engines.jython.JythonEngine.iexec(Unknown Source)
    at com.ibm.bsf.BSFManager$7.run(Unknown Source)
    at java.security.AccessController.doPrivileged(AccessController.java:734)
    at com.ibm.bsf.BSFManager.iexec(Unknown Source)
    at com.ibm.ws.scripting.AbstractShell.interactive(AbstractShell.java:1399)
    at com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:2299)
    at com.ibm.ws.scripting.WasxShell.main(WasxShell.java:1172)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:234)
    at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:96)
    at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:77)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
    at org.eclipse.core.launcher.Main.run(Main.java:981)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:424)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:177)

    Client stackTrace
    ]

    ------------------------------
    Akash Gupta
    ------------------------------


  • 2.  RE: Configure Case Manager on IBM BAW 20.X

    Posted Mon June 21, 2021 01:26 AM
    Edited by Stephanie Wilkerson Mon December 19, 2022 08:11 PM
    Dear Akash,
     Hopefully you are following these requirements: s:
    • Run the command on an application cluster member. So, check the port accordingly. e.g. 8880
    • One or more application cluster members must be running.
    • Run the command in the connected mode; that is, do not use the wsadmin-conntype none option.
    • You must connect to an application cluster member with a user ID that has the WebSphere Application Server operator or deployer role. 
    Regards,
    Gaurav Bhargava

    Thanks & Regards,

    Gaurav Bhargava
    Tech Park One (Panchshill) Off Airport Road, Yerwada
    Business Transformation Consultant
    Pune, MH- 411006
    India
    Intelligent Connected Operations
    IBM Global Business Services India
     
    E-mail: gabhargv@in.ibm.com
    Mobile: +91-7769933155
     
     
     





  • 3.  RE: Configure Case Manager on IBM BAW 20.X

    Posted Mon June 21, 2021 01:54 AM
    Thanks for the response.
    Question:- deadmin user in the command(createObjectStoreForContent) should exist before running the command or it creates this user?
    Steps which i followed
    1. Run the wsadmin command from Install_Root/DMGRProfile/bin
    ./wsadmin.sh -lang jython -user deadminuser -password deadminuser -host actual_hostname -port 8880
    WASX7209I: Connected to process "AE1Srv01" on node AE1Node1 using SOAP connector; The type of process is: ManagedProcess

    2. Created a group admingroup2 and added deadminuser as a member to this group.
    3. deadminuser has roles.(Administrator, Deployer, Operator)
    4.Run the Command.   
    wsadmin>print AdminTask.createObjectStoreForContent(['-clusterName', 'AE1Cluster', '-PEWorkflowSystemAdminGroup', 'adminGroup2','-creationUser','deadmin','-password','deadmin_pw'])

    Error- 
    WASX7015E: Exception running command: "AdminTask.createObjectStoreForContent(['-clusterName', 'AE1Cluster', '-PEWorkflowSystemAdminGroup', 'adminGroup2','-creationUser','deadmin','-password','deadmin_pw'])"; exception information:
    com.ibm.websphere.management.exception.ConnectorException
    org.apache.soap.SOAPException: [SOAPException: faultCode=SOAP-ENV:Client; msg=com.filenet.api.exception.EngineRuntimeException
    Server stack trace
    JMXTransformException java.lang.ClassNotFoundException: com.filenet.api.exception.EngineRuntimeException


    ------------------------------
    Akash Gupta
    ------------------------------



  • 4.  RE: Configure Case Manager on IBM BAW 20.X

    Posted Mon June 21, 2021 02:48 AM
    Dear Akash,

    Could you check additional logs as mentioned in this link:

    https://www.ibm.com/support/pages/how-can-i-troubleshoot-createobjectstoreforcontent-command-errors

    Regards,
    Gaurav Bhargava

    ------------------------------
    Gaurav Bhargava
    ------------------------------



  • 5.  RE: Configure Case Manager on IBM BAW 20.X

    Posted Tue July 13, 2021 06:22 AM
    Thanks Gaurav steps in the url worked. Found the error . It was due to wrong tablespace name which was not configured properly at the time installation.

    ------------------------------
    Akash Gupta
    ------------------------------



  • 6.  RE: Configure Case Manager on IBM BAW 20.X

    Posted Mon December 19, 2022 08:05 PM
    My experience:

    JMXTransformException java.lang.ClassNotFoundException: com.filenet.api.exception.EngineRuntimeException --> The exception I got when I called createObjectStoreForContent with the wrong PEWorkflowSystemAdminGroup parameter.

     com.ibm.bpm.embeddedecm.exception.ObjectDefinitionCannotBeCreatedException: CWTDS0001E: The object definition '[FNRPE2130200367E]You must be a member of PE Administrator group to perform the requested function. See PE SysLog for details. --> The exception I got when I called createObjectStoreForContent with the wrong clusterName parameter.

    IBM really needs to work on error handling messages.

    ------------------------------
    Vibor Pokupec
    ------------------------------