org.jbpm.workflow.instance.WorkflowRuntimeException: [RunBookNotifications.CallNotifications:55 - Run book Email Notifications:2] -- Connection not initialized for Email

Google Groups | Abhijit Gupta | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Changing the WorkItemHandler for email in kie-wb-deployment-descriptor not reflecting

    Google Groups | 7 months ago | Abhijit Gupta
    org.jbpm.workflow.instance.WorkflowRuntimeException: [RunBookNotifications.CallNotifications:55 - Run book Email Notifications:2] -- Connection not initialized for Email

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Connection not initialized for Email

      at org.jbpm.process.workitem.email.EmailWorkItemHandler.executeWorkItem()
    2. jBPM :: WorkItems
      EmailWorkItemHandler.executeWorkItem
      1. org.jbpm.process.workitem.email.EmailWorkItemHandler.executeWorkItem(EmailWorkItemHandler.java:79)
      1 frame
    3. Drools :: Persistence :: JPA
      JPAWorkItemManager.internalExecuteWorkItem
      1. org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:69)
      1 frame
    4. org.jbpm.workflow
      NodeInstanceImpl.trigger
      1. org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:138)
      2. org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
      3. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366)
      4. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325)
      5. org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:73)
      6. org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:44)
      7. org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
      7 frames
    5. org.jbpm.ruleflow
      RuleFlowProcessInstance.internalStart
      1. org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
      1 frame
    6. org.jbpm.process
      ProcessInstanceImpl.start
      1. org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:236)
      1 frame
    7. org.jbpm.workflow
      WorkflowProcessInstanceImpl.start
      1. org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:439)
      1 frame
    8. org.jbpm.process
      ProcessRuntimeImpl.startProcess
      1. org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:208)
      2. org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:191)
      3. org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:183)
      3 frames
    9. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:1787)
      2. org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:122)
      3. org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:40)
      4. org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
      5. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)
      5 frames
    10. Drools :: Persistence :: JPA
      SingleSessionCommandService$TransactionInterceptor.execute
      1. org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:584)
      1 frame
    11. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)
      1 frame
    12. Drools :: Persistence :: JPA
      OptimisticLockRetryInterceptor.execute
      1. org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:82)
      1 frame
    13. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)
      1 frame
    14. Drools :: Persistence :: JPA
      SingleSessionCommandService.execute
      1. org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:73)
      2. org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:377)
      2 frames
    15. Drools :: Core
      CommandBasedStatefulKnowledgeSession.execute
      1. org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.execute(CommandBasedStatefulKnowledgeSession.java:490)
      1 frame
    16. jBPM :: KIE Services
      ProcessServiceImpl.execute
      1. org.jbpm.kie.services.impl.ProcessServiceImpl.execute(ProcessServiceImpl.java:488)
      1 frame
    17. jBPM :: CDI Services
      ProcessServiceCDIImpl$Proxy$_$$_WeldClientProxy.execute
      1. org.jbpm.services.cdi.impl.ProcessServiceCDIImpl$Proxy$_$$_WeldClientProxy.execute(ProcessServiceCDIImpl$Proxy$_$$_WeldClientProxy.java)
      1 frame
    18. KIE
      ExecuteResourceImpl$Proxy$_$$_WeldClientProxy.execute
      1. org.kie.remote.services.cdi.ProcessRequestBean.doKieSessionOperation(ProcessRequestBean.java:295)
      2. org.kie.remote.services.cdi.ProcessRequestBean.processCommand(ProcessRequestBean.java:202)
      3. org.kie.remote.services.cdi.ProcessRequestBean$Proxy$_$$_WeldClientProxy.processCommand(ProcessRequestBean$Proxy$_$$_WeldClientProxy.java)
      4. org.kie.remote.services.util.ExecuteCommandUtil.restProcessJaxbCommandsRequest(ExecuteCommandUtil.java:59)
      5. org.kie.remote.services.rest.ExecuteResourceImpl.execute(ExecuteResourceImpl.java:60)
      6. org.kie.remote.services.rest.ExecuteResourceImpl$Proxy$_$$_WeldClientProxy.execute(ExecuteResourceImpl$Proxy$_$$_WeldClientProxy.java)
      6 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    20. RESTEasy JAX-RS Implementation
      HttpServletDispatcher.service
      1. org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168)
      2. org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)
      3. org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)
      4. org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216)
      5. org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541)
      6. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523)
      7. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125)
      8. org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
      9. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
      10. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
      10 frames
    21. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      1 frame
    22. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    23. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    25. KIE
      DynamicJaxbContextFilter.doFilter
      1. org.kie.remote.services.rest.jaxb.DynamicJaxbContextFilter.doFilter(DynamicJaxbContextFilter.java:63)
      1 frame
    26. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    27. org.uberfire.ext
      BasicAuthSecurityFilter.doFilter
      1. org.uberfire.ext.security.server.BasicAuthSecurityFilter.doFilter(BasicAuthSecurityFilter.java:53)
      1 frame
    28. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    29. org.uberfire.ext
      SecureHeadersFilter.doFilter
      1. org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:53)
      1 frame
    30. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    31. org.uberfire.ext
      SecurityIntegrationFilter.doFilter
      1. org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:45)
      1 frame
    32. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      7 frames
    33. org.kie.integration
      JACCValve.invoke
      1. org.kie.integration.tomcat.JACCValve.invoke(JACCValve.java:101)
      1 frame
    34. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
      3 frames
    35. Grizzly HTTP
      AprEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
      3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
      4. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
      4 frames
    36. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    37. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    38. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame