This content has been marked as final. Show 2 replies
Sounds wrong... and you already gave the solution yourself. You could just have tried this... btw, what is a file? An xhtml page? or?
This is wrong. You should not be creating process engine multiple times. Create the process engine, then call getExecutionService, getTaskService etc to get the individual services. Then keep those services as singleton at some central place from where you can use them. You never need to close them under normal circumstances.