Thanks Mauricio.
1. Actually im creating one client and reusing them. Have to probe further into that exception.
2.Currently im trying the async client AsyncTaskService client = new AsyncHornetQTaskClient(); . But im getting time out exception.
java.lang.RuntimeException: Timeout : unable to retrieve results
at org.jbpm.task.service.responsehandlers.BlockingTaskSummaryResponseHandler.getResults(BlockingTaskSummaryResponseHandler.java:41)
why could that be.? Kindly suggest a way out.