본문 바로가기
IBM - old/IBM Middleware 문제&해결

[BPM]Process Designer 에서 process 를 직접 구동시키는 경우에 CWLLG0594E exception 발생

by freeman98 2016. 7. 18.

1. WAS 버전 : IBM BPM v8.5 이상

2. OS : All

3. Error 발생 시점 : Process Designer 에서 process 를 직접 구동시키는 경우에 CWLLG0594E exception 발생
  - src context: Snapshot.a57d4203-797a-4863-8813-5e0828cccbb0(tip), path: 9493e1db-b7ff-4312-8036-ba7c33bd7d4b

4. Error message :
[15. 4. 13   13:21:27:662 KST] 000001eb EJBWorkflowMa E   CWLLG0594E: 실행 가능 스레드를 초기화하는 중에 예외가 발생했습니다. 오류: com.lombardisoftware.component.common.workflow.WorkflowProcessItemException: src context: Snapshot.1adcd082-0012-4ed2-a1ae-939a4e5ce3d1(tip), path: 9493e1db-b7ff-4312-8036-ba7c33bd7d4b
                                 com.lombardisoftware.component.common.workflow.WorkflowProcessItemException: src context: Snapshot.1adcd082-0012-4ed2-a1ae-939a4e5ce3d1(tip), path: 9493e1db-b7ff-4312-8036-ba7c33bd7d4b
     at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:478)
     at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1431)
     at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.resumeProcess(EJBWorkflowManagerBean.java:412)
     at com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWorkflowManager_82478d70.resumeProcess(Unknown Source)
     at com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInterface_Stub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
     at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault.java:144)
     at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.java:84)
     at java.security.AccessController.doPrivileged(AccessController.java:338)
     at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:204)
     at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.java:188)
     at com.lombardisoftware.component.common.workflow.EJBWorkflowManagerDelegateWebSphere.resumeProcess(EJBWorkflowManagerDelegateWebSphere.java:82)
     at com.lombardisoftware.component.common.web.WebWorkflowManager.callEJBWorkflowManager(WebWorkflowManager.java:938)
     at com.lombardisoftware.component.common.web.WebWorkflowManager.startProcess(WebWorkflowManager.java:489)
     at com.lombardisoftware.component.common.web.WebWorkflowManager.processRequest(WebWorkflowManager.java:274)
     at com.lombardisoftware.servlet.ControllerServlet.doCommon(ControllerServlet.java:411)
     at com.lombardisoftware.servlet.ControllerServlet.doGet(ControllerServlet.java:142)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
     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.lombardisoftware.servlet.CachingFilter.doFilter(CachingFilter.java:81)
     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.ClearThreadCachesFilter.doFilter(ClearThreadCachesFilter.java:41)
     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.SetUserTimeZoneFilter.doFilter(SetUserTimeZoneFilter.java:69)
     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.BidiSupportFilter.doFilter(BidiSupportFilter.java:50)
     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.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:83)
     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.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:33)
     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.CompressionFilter.doFilter(CompressionFilter.java:57)
     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.GenericSecurityServletFilter.doFilter(GenericSecurityServletFilter.java:114)
     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.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:919)
     at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
     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:1818)
     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:1881)
Caused by: com.lombardisoftware.client.persistence.common.BrokenReferenceException: src context: Snapshot.1adcd082-0012-4ed2-a1ae-939a4e5ce3d1(tip), path: 9493e1db-b7ff-4312-8036-ba7c33bd7d4b
     at com.lombardisoftware.client.persistence.common.Reference.resolve(Reference.java:145)
     at com.lombardisoftware.client.persistence.common.Reference.resolve(Reference.java:114)
     at com.lombardisoftware.client.persistence.common.factorydelegate.VersionedFactoryDelegate.findByPrimaryKey(VersionedFactoryDelegate.java:71)
     at com.lombardisoftware.client.persistence.common.AbstractVersionedPOFactory.findByPrimaryKey(AbstractVersionedPOFactory.java:124)
     at com.lombardisoftware.client.persistence.common.AbstractVersionedPOFactory.findByPrimaryKey(AbstractVersionedPOFactory.java:112)
     at com.lombardisoftware.component.subprocess.worker.SubProcessWorker.doJobStartSubProcess(SubProcessWorker.java:155)
     at com.lombardisoftware.component.subprocess.worker.SubProcessWorker.doJob(SubProcessWorker.java:123)
     at com.lombardisoftware.component.common.workflow.ExecutionJob.doJob(ExecutionJob.java:461)
     ... 69 more

5. 예상 이유 :  process 내의 activity 에서 가져온 Toolkit 의 service 를 call 하는 로직이 들어있는데 해당 toolkit 이 지워지거나 이슈가 발생해서 해당 연결 reference 가 끊어진 경우

6. 조치 방안 : 해당 activity 의 service call 을 지운 후에 다른 service 로 대체하거나 지워진 toolkit 을 다시 참조하도록 함

7. 참고 자료 

댓글