10 Replies Latest reply on Sep 11, 2012 2:02 AM by yukihane renka

    About Signal Event

    Jay Patel Newbie

      I have developed one Application.

       

      In which user apply for Leave.That leave request will be forwarded to superior as a mail.

      Now,

      I want to stop the process till superior approve or reject that Leave Request.

      Can It be possible?

       

      If it is possible then How can I invoke the Process Again?

      Can I use Signal Event Node for this?

       

      I have uploaded my BPMN file. its not completed yet! because I am confuse how to proceed further?

      what to use next?

       

      in send to PM service task the Leave request will be forwarded to Superior!

       

      Please reply,

       

      Thanks and Regards,

       

      Jay Patel

        • 1. Re: About Signal Event
          Maciej Swiderski Master

          why not to use user task? this is perfectly suited for this kind of logic. So as soon as PM approves it process with automatically continue its flow. Take a look at the evaluation process that comes with jbpm bundle. I think that it can be considered as good input for your process.

           

          HTH

          1 of 1 people found this helpful
          • 2. Re: About Signal Event
            Jay Patel Newbie

            Hey,

             

            I am trying to run Evaluation Process which came with jBPM Bundle.

             

            I am getting Error./...

             

            0    12/07 11:53:56,518[main] ERROR service.hornetq.HornetQTaskClientConnector.connect  - Unable to connect to server using configuration org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5445&host=127-0-0-1

            org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.evaluation:1 - Self Evaluation:2] -- Could not connect task client: on ip: 127.0.0.1 - port: 5445

                      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:130)

                      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205)

                      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:164)

                      at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)

                      at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)

                      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

                      at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)

                      at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188)

                      at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:303)

                      at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:168)

                      at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:138)

                      at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1082)

                      at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:320)

                      at com.sample.ProcessTest.main(ProcessTest.java:31)

            Caused by: java.lang.IllegalArgumentException: Could not connect task client: on ip: 127.0.0.1 - port: 5445

                      at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.connect(GenericHTWorkItemHandler.java:119)

                      at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:143)

                      at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)

                      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)

                      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

                      ... 13 more

            • 3. Re: About Signal Event
              Maciej Swiderski Master

              make sure that your server has deployed properly all web application, especially important in this case is jbpm-human-task.war which exposes task service over hornetq. Please analyze server.log to see if task server started successfully.

               

              HTH

              1 of 1 people found this helpful
              • 4. Re: About Signal Event
                Jay Patel Newbie

                Hey,

                 

                Thanks for your guidence,

                I am trying to deploy jbpm-human-task.war .

                at the deployment time I am getting this error on server side.

                 

                 

                "

                11:14:45,986 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry activation.jar in "/content/jbpm-human-task-war-5.3.0.Final.war/WEB-INF/lib/mail-1.4.jar"  does not point to a valid jar for a Class-Path reference.

                11:14:45,990 WARN  [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-3) Encountered invalid class name "org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer" for service type "org.xmlpull.v1.XmlPullParserFactory"

                11:14:45,991 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."jbpm-human-task-war-5.3.0.Final.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-human-task-war-5.3.0.Final.war".PARSE: Failed to process phase PARSE of deployment "jbpm-human-task-war-5.3.0.Final.war"

                          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_33]

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_33]

                          at java.lang.Thread.run(Thread.java:680) [:1.6.0_33]

                Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse POJO xml ["/content/jbpm-human-task-war-5.3.0.Final.war/WEB-INF/lib/netty-3.2.0.Final.jar/META-INF/jboss-beans.xml"]

                          at org.jboss.as.pojo.KernelDeploymentParsingProcessor.parseDescriptor(KernelDeploymentParsingProcessor.java:130)

                          at org.jboss.as.pojo.KernelDeploymentParsingProcessor.parseDescriptors(KernelDeploymentParsingProcessor.java:104)

                          at org.jboss.as.pojo.KernelDeploymentParsingProcessor.deploy(KernelDeploymentParsingProcessor.java:76)

                          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)

                          ... 5 more

                Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[17,1]

                Message: Unexpected element '{urn:jboss:bean-deployer:2.0}deployment'

                          at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:98)

                          at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)

                          at org.jboss.as.pojo.KernelDeploymentParsingProcessor.parseDescriptor(KernelDeploymentParsingProcessor.java:123)

                          ... 8 more"

                ------

                Another thing is When I check deployment folder in Standalone all the war file have .failed suffix.

                 

                and in server log

                I got below Error

                 

                "

                7:03:12,864 ERROR [stderr] (MSC service thread 1-3) SLF4J: This version of SLF4J requires log4j version 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version

                17:03:13,311 ERROR [stderr] (MSC service thread 1-3) log4j:WARN No appenders could be found for logger (org.reflections.Reflections).

                17:03:13,311 ERROR [stderr] (MSC service thread 1-3) log4j:WARN Please initialize the log4j system properly.

                17:03:14,027 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /jbpm-console

                17:03:14,125 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /designer

                17:03:27,427 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) Did not receive a response to the deployment operation within the allowed timeout period [60 seconds]. Check the server configurationfile and the server logs to find more about the status of the deployment.

                17:03:27,427 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "jbpm-human-task-war.war" was rolled back with failure message Operation cancelled

                17:03:27,428 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "jbpm-gwt-console.war" was rolled back with no failure message

                17:03:27,428 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "jbpm-gwt-console-server.war" was rolled back with no failure message

                17:03:27,430 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "jbpm-form-builder.war" was rolled back with no failure message

                17:03:27,430 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "drools-guvnor.war" was rolled back with no failure message

                17:03:27,430 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "designer.war" was rolled back with no failure message

                "

                • 5. Re: About Signal Event
                  Jay Patel Newbie

                  Hey I have integreted Human Task in my process as per Evaluation Process Example.

                  But when I am trying to run that process . I am getting Request Time out Exception.

                   

                  One more thing During Human Task execution I want to set one isApproved flag How can I do that

                   

                  I have attached My bpmn File over here and One class with main method!

                  What configuration still left?

                   

                   

                  When I am executing the Process

                  The Error is...

                   

                   

                  1    17/07 17:13:45,742[main] ERROR workitem.wsht.GenericHTWorkItemHandler.executeWorkItem  - Tue Jul 17 17:13:45 GMT+05:30 2012: Error when creating task on task server for work item id 3. Error reported by task server: Task operation request timed out

                  java.lang.RuntimeException: Task operation request timed out

                            at org.jbpm.task.service.SyncTaskServiceWrapper.addTask(SyncTaskServiceWrapper.java:118)

                            at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:145)

                            at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)

                            at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:164)

                            at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:47)

                            at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:162)

                            at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:143)

                            at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:239)

                            at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:301)

                            at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:277)

                            at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:326)

                            at org.drools.process.instance.impl.DefaultWorkItemManager.completeWorkItem(DefaultWorkItemManager.java:116)

                            at com.sample.leaveAppplication.workHandler.SendLeaveApplicationToPL.executeWorkItem(SendLeaveApplicationToPL.java:95)

                            at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)

                            at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:213)

                            at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:100)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:164)

                            at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:47)

                            at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:162)

                            at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:143)

                            at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:239)

                            at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:301)

                            at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:277)

                            at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:326)

                            at org.drools.process.instance.impl.DefaultWorkItemManager.completeWorkItem(DefaultWorkItemManager.java:116)

                            at com.sample.leaveAppplication.workHandler.CheckAllocation.executeWorkItem(CheckAllocation.java:61)

                            at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)

                            at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:164)

                            at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)

                            at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)

                            at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

                            at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)

                            at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188)

                            at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:303)

                            at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:168)

                            at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:138)

                            at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1082)

                            at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:320)

                            at com.sample.StartProcessFlow.main(StartProcessFlow.java:49)

                   

                  Please reply!

                   

                  Thanks and Regards,

                  Jay

                  • 6. Re: About Signal Event
                    Maciej Swiderski Master

                    Could you check server log where human task service is running - most likely on JBoss AS7. I suspect there are some issues that prevent of task service from returing response.

                     

                    HTH

                    • 7. Re: About Signal Event
                      Jay Patel Newbie

                      Hey,

                       

                       

                      I have noticed server log and I found strange error!!!

                       

                      "

                      15:21:50,541 ERROR [stderr] (Thread-27) org.jbpm.task.service.PermissionDeniedException: User '[User:'pl']' was unable to execution operation 'Start' on task id 6 due to a no 'current status' match

                      15:21:50,560 ERROR [stderr] (Thread-27)           at org.jbpm.task.service.TaskServiceSession.evalCommand(TaskServiceSession.java:300)

                      15:21:50,560 ERROR [stderr] (Thread-27)           at org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:415)

                      15:21:50,578 ERROR [stderr] (Thread-27)           at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:92)

                      15:21:50,579 ERROR [stderr] (Thread-27)           at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:44)

                      15:21:50,579 ERROR [stderr] (Thread-27)           at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:85)

                      15:21:50,579 ERROR [stderr] (Thread-27)           at java.lang.Thread.run(Thread.java:680)

                      15:21:53,504 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http-localhost-127.0.0.1-8080-2) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: org.jbpm.task.service.PermissionDeniedException: User '[User:'pl']' was unable to execution operation 'Start' on task id 6 due to a no 'current status' match

                                at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at java.lang.Thread.run(Thread.java:680) [:1.6.0_33]

                      Caused by: org.jbpm.task.service.PermissionDeniedException: User '[User:'pl']' was unable to execution operation 'Start' on task id 6 due to a no 'current status' match

                                at org.jbpm.task.service.TaskServiceSession.evalCommand(TaskServiceSession.java:300) [jbpm-human-task-core-5.3.0.Final.jar:]

                                at org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:415) [jbpm-human-task-core-5.3.0.Final.jar:]

                                at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:92) [jbpm-human-task-core-5.3.0.Final.jar:]

                                at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:44) [jbpm-human-task-hornetq-5.3.0.Final.jar:]

                                at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:85) [jbpm-human-task-hornetq-5.3.0.Final.jar:]

                                ... 1 more

                      "

                      -------------------------------------

                       

                      This time I got new Exception

                       

                      17:59:34,313 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http-localhost-127.0.0.1-8080-7) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException

                                at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                                at java.lang.Thread.run(Thread.java:680) [:1.6.0_33]

                      Caused by: java.lang.NullPointerException

                                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.checkPackagesFromGuvnor(StatefulKnowledgeSessionUtil.java:447) [jbpm-gwt-core-5.3.0.Final.jar:]

                                at org.jbpm.integration.console.CommandDelegate.getProcesses(CommandDelegate.java:67) [jbpm-gwt-core-5.3.0.Final.jar:]

                                at org.jbpm.integration.console.ProcessManagement.getProcessDefinitions(ProcessManagement.java:42) [jbpm-gwt-core-5.3.0.Final.jar:]

                                at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:125) [classes:]

                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_33]

                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_33]

                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_33]

                                at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_33]

                                at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209) [resteasy-jaxrs-2.2.1.GA.jar:]

                                at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519) [resteasy-jaxrs-2.2.1.GA.jar:]


                       

                      --------------------

                       

                      Now I am facing another problem,

                      I have started deployment  and all wars deployed Successfully

                      But After login jBPM-Console gives me NULLPOINTER EXCEPTION

                       

                      So, I have restart the Process and now after login nothing is displayed on Page.

                      On server side no Exception is displayed

                       

                      Thanks and Regards,

                      Jay

                      • 8. Re: About Signal Event
                        Jay Patel Newbie

                        Request Time Out Problem!!

                        Please need Help

                         

                        I am getting Request time out Exception while processing Human task.

                        I have checked the server log.

                        Each time gives me different different Exception..

                        I already posted exceptions above.

                        • 9. Re: About Signal Event
                          Maciej Swiderski Master

                          NPE reported is a bug that sometimes happens and was recently resolved on master JBPM-3647 it may be caused by to early accessed process definition pane. Option to workaround is to make sure that session will be loaded first and that should be the case when you login into console you should be on Task pane (Personal tasks) which already should trigger session to be loaded, just let it be for a while there to make sure session is loaded.

                           

                          If that will not help, you could try to register context listener in web.xml of jbpm-gwt-console-server that will simply invoke this on application start:

                          StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession()

                           

                          HTH

                          • 10. Re: About Signal Event
                            yukihane renka Newbie

                            On my emvironment, HornetQ-Task-service bootstrapping is very slow(about 7min. !).

                            Until logged following message in server.log, I got it's error.

                             

                             

                            13:51:29,775 INFO  [stdout] (MSC service thread 1-3) HornetQ Task service started correctly !

                             

                            13:51:29,775 INFO  [stdout] (MSC service thread 1-3) HornetQ Task service running ...

                             

                            13:51:29,775 INFO  [stdout] (MSC service thread 1-3) Task service startup completed successfully !

                            And, if environment variable JBOSS_HOME set, remove it.