BPM, Workflow, and Case

BPM, Workflow, and Case

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

 View Only
Expand all | Collapse all

Error when trying to get folders from filenet

  • 1.  Error when trying to get folders from filenet

    Posted Thu October 19, 2023 11:09 AM

    We are checking filenet process folder by getting all folders and chech for folder existence and if exist we get all sub folders and files and works fine for a lot of cases but for some we get the following error.

    data: { - failedOperations: null, runtimeErrors: [ - { - instanceId: "BPDInstance.171", taskId: "Task.6369", errorMessage: "errorCode: ECMError", javaTrace: "com.lombardisoftware.component.common.worker.TWComponentWorkerExtendedException: errorCode: ECMError   at com.ibm.bpm.coachflow.web.CoachFlowWebUI.processScreen(CoachFlowWebUI.java:148)   at com.ibm.bpm.coachflow.servlet.CFEControllerServlet$1.call(CFEControllerServlet.java:613)   at com.ibm.bpm.coachflow.servlet.CFEControllerServlet$1.call(CFEControllerServlet.java:561)   at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport$3.doInTransaction(ProgrammaticTransactionSupport.java:594)   at org.springframework.transaction.jta.WebSphereUowTransactionManager$UOWActionAdapter.run(WebSphereUowTransactionManager.java:371)   at com.ibm.ws.uow.embeddable.EmbeddableUOWManagerImpl.runUnderNewUOW(EmbeddableUOWManagerImpl.java:791)   at com.ibm.ws.uow.embeddable.EmbeddableUOWManagerImpl.runUnderUOW(EmbeddableUOWManagerImpl.java:370)   at org.springframework.transaction.jta.WebSphereUowTransactionManager.execute(WebSphereUowTransactionManager.java:306)   at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.executeInNewTransaction(ProgrammaticTransactionSupport.java:575)   at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.execute(ProgrammaticTransactionSupport.java:428)   at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.execute(ProgrammaticTransactionSupport.java:357)   at com.ibm.bpm.coachflow.servlet.CFEControllerServlet.finishTask(CFEControllerServlet.java:561)   at com.ibm.bpm.coachflow.servlet.CFEControllerServlet.doCommon(CFEControllerServlet.java:174)   at com.ibm.bpm.coachflow.servlet.CFEControllerServlet.doPost(CFEControllerServlet.java:144)   at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)   at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)   at com.ibm.bpm.rest.filter.BPMCORSFilter.doFilter(BPMCORSFilter.java:131)   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)   at com.ibm.bpm.servlet.filters.GenericSecurityServletFilter.doFilter(GenericSecurityServletFilter.java:332)   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)   at com.lombardisoftware.servlet.SetBPMGenericHeaderFilter.doFilter(SetBPMGenericHeaderFilter.java:28)   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)   at com.ibm.bpm.servlet.filters.CompressionFilter.doFilter(CompressionFilter.java:97)   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4075)   at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1019)   at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)   at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:213)   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)   at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)   at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)   at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)   at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)   at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)   at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)   at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)   at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)   at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892) ", jsTrace: "", twTrace: "2064.181d3976-557d-4c77-a7f4-fe770e0b441e  25.0cf4d10c-da40-4ad7-ada5-dc8261a8447e  Bank - LOS  Finalize Request 2064.181d3976-557d-4c77-a7f4-fe770e0b441e  1.9ef9124a-d0eb-4d89-8f96-e01c02260a5a  Loan Case Data HS  ", timestamp: "2023-10-17T22:00:00Z", branchId: null, snapshotId: "Snapshot.181d3976-557d-4c77-a7f4-fe770e0b441e", rootSnapshotId: null, sourceGuid: "guid:8922862794a2a716:-466e538a:18520dca14d:-3488", errorCode: "ECMError", errorData: "<variable type="ECMError"> <type type="String"><![CDATA[runtime]]></type> <code type="Integer"><![CDATA[500]]></code> <message type="String"><![CDATA[CIL1500: The service cannot be completed. Explanation: This error can occur for the following reasons: - An error in the IBM CMIS application - An error on the repository Action: See the HTTP response or the application server SystemOut.log file for more information and to review the stack trace for the exception. By default, the SystemOut.log file is in the [WAS_profile_location]/logs/[server]/logs subdirectory of the application server installation directory.]]></messge> </variable>", BPMN2Style: true } ] } }

    Is their any help? 



    ------------------------------
    [ahmed] [shaheen]
    [System developer]
    [valleysoft-eg]
    [Cairo] [Egypt]
    [+20-01015699307]
    ------------------------------


  • 2.  RE: Error when trying to get folders from filenet

    Posted Mon October 23, 2023 04:02 AM

    Hi Ahmed,

    you have to check the root cause on CMIS server (SystemOut.log for WAS) first and if not specified on FileNet server (ce_system.log).

    Bets eragards

    Yannick



    ------------------------------
    Yannick Martin
    ------------------------------