AnsweredAssumed Answered

Problem with jobExecutor when set to true

Question asked by ganeshr on Jul 9, 2013
Latest reply on Jul 9, 2013 by ganeshr

  I have created a standalone application in which the process engine is running. This application was running fine when jobExecutor is set to false but when I set it to true the problems started. When trying to retrieve the tasks for process instance id using the below statements
TaskQuery taskQuery =
      task = taskQuery.singleResult();

program is getting struck when taskQuery.singleResult() statement is executed. This statement is not returning any result and its getting struck. Here is the log statement

09-Jul-2013[01:46:14.812]::DEBUG::listenerContainer-1::org.activiti.engine.impl.interceptor.LogInterceptor:33 -
09-Jul-2013[01:46:14.813]::DEBUG::listenerContainer-1::org.activiti.engine.impl.interceptor.LogInterceptor:34 - — starting TaskQueryImpl

After this I'm not seeing anything in my log and my program is getting hanged after that.

I'm attaching the activiti context file and I'm using Oracle as a database. I'm guessing may be the problem is with transaction manager. If that is the root cause of this issue, can anyone provide how exactly transaction manager is to be configured for standalone applications.