Arun Selva [
https://community.jboss.org/people/arselv] created the discussion
"Re: Unable to dispose ksession"
To view the discussion, visit:
https://community.jboss.org/message/742793#742793
--------------------------------------------------------------
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
[
https://community.jboss.org/message/742793#742793]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]