Hi,
I have an exception that always occur whenever the line of code highlighted in red is invoked:
BlockingTaskSummaryResponseHandler responseHandler = new BlockingTaskSummaryResponseHandler();
responseHandler.waitTillDone(5000);
jbpmUtil.getMinaClient().getTasksAssignedAsPotentialOwner(
taskOwner, "en-UK", responseHandler);
List<TaskSummary> results = responseHandler.getResults();
Here's the logs:
BEFORE RULEFLOW VARIABLE CHANGED recipient=gimeno.vallangca process:Sample Process[id=com.volenday.blackbox.process.task]
AFTER RULEFLOW VARIABLE CHANGED recipient=gimeno.vallangca process:Sample Process[id=com.volenday.blackbox.process.task]
BEFORE RULEFLOW STARTED process:Sample Process[id=com.volenday.blackbox.process.task]
BEFORE PROCESS NODE TRIGGERED node:StartProcess[id=1] process:Sample Process[id=com.volenday.blackbox.process.task]
BEFORE PROCESS NODE EXITED node:StartProcess[id=1] process:Sample Process[id=com.volenday.blackbox.process.task]
BEFORE PROCESS NODE TRIGGERED node:one-off Task[id=2] process:Sample Process[id=com.volenday.blackbox.process.task]
AFTER PROCESS NODE TRIGGERED node:one-off Task[id=2] process:Sample Process[id=com.volenday.blackbox.process.task]
AFTER PROCESS NODE TRIGGERED node:StartProcess[id=1] process:Sample Process[id=com.volenday.blackbox.process.task]
AFTER PROCESS NODE TRIGGERED node:StartProcess[id=1] process:Sample Process[id=com.volenday.blackbox.process.task]
AFTER RULEFLOW STARTED process:Sample Process[id=com.volenday.blackbox.process.task]
javax.persistence.PersistenceException: Server-side Exception: org.hibernate.exception.JDBCConnectionException: could not execute query
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.jbpm.task.service.responsehandlers.AbstractBaseResponseHandler.createSideException(AbstractBaseResponseHandler.java:74)
at org.jbpm.task.service.responsehandlers.AbstractBlockingResponseHandler.waitTillDone(AbstractBlockingResponseHandler.java:48)
at org.jbpm.task.service.responsehandlers.BlockingTaskSummaryResponseHandler.getResults(BlockingTaskSummaryResponseHandler.java:38)
at com.volenday.blackbox.service.task.impl.TaskServiceImpl.createTask(TaskServiceImpl.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy37.createTask(Unknown Source)
at com.volenday.blackbox.web.server.UITaskServiceImpl.saveNewTask(UITaskServiceImpl.java:68)
at com.volenday.blackbox.web.server.UITaskServiceImpl.update(UITaskServiceImpl.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)