This content has been marked as final.
Show 2 replies
-
1. Re: JBPM6 - RuntimeManager error
salaboy21 Dec 3, 2013 8:52 AM (in response to fgiannetti)Again, you don't need to Inject the TaskService if you have the runtime manager. Also if you are using @PerProcessInstance you shouldn't call the variable singletonManager.
It seems that you are creating multiple times the JbpmService which causes to create multiple instances of the RuntimeManager, so you need to make sure that the JbpmService is not instantiated more than once.
-
2. Re: JBPM6 - RuntimeManager error
fgiannetti Dec 3, 2013 10:11 AM (in response to salaboy21)Yes! sorry
The injected TaskService is old...
Now Im getting it from the RuntimeEngine
Thanks for the answer!