JBoss Community

Re: Unable to dispose ksession

created by Arun Selva in jBPM - View the full discussion

For starting the process, the ksession associated with the taskhandler should be alive.

And by the same time during the completion of the task the ksession should be alive.

As both these shares the same taskhandler i couldnt dispose the ksession.

 

Hence i thought of having seperate taskhandlers one for starting a process and other for completing a task.

Thats in where i got that optimistic lock exception.

 

1. Cant  i dispose the ksession with shared taskhandler.?

2. If i gotto use seperate taskhandlers, How to correct this exception.?

Reply to this message by going to Community

Start a new discussion in jBPM at Community