cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Activiti 5.12

abataleb
Champ in-the-making
Champ in-the-making
Greetings

I am testing a webapp that embeds a workflow engine (version 5.12)
I have created two instances of the application connected with a appache load balancer

When I create few instances of workflows, the webapp process them successfully, the two instances of the webapp take care of some instances ==> everything works fine.

But when I send thousands of instances (when I simulate 5 threads where each one creates one instance/second) I encounter problems inside the activiti.
I have some instances that remain in act_ru_execution and they are never processed and when I check the other tables:
– act_ru_job is empty.
– act_ru_task is empty

Have you an idea what is going on ?
How can I process the remaining instances ?

Any help will be much appreciated.
Best Regards
abataleb

4 REPLIES 4

jbarrez
Star Contributor
Star Contributor
Without more information about the actual process definition .. no.
One instance / second is not a lot, so that can't be it.

Also, 5.12 is quite old …

abataleb
Champ in-the-making
Champ in-the-making
Thanks for the quick answer
I have attached the process definition.

For the version 5.12, how much do you estimate the cost to upgrade to a recent version ?

Thanks again
abataleb

jbarrez
Star Contributor
Star Contributor
I had a look at your process definition, but i can't see nothing out of the odd.

I would expect that even if you have 'stalled' process instance, you have entries in the act_ru_job table for sure (cause the first step is an async service task).

Can you post the content of the ACT_RU_EXECUTION row of such a stalled process? And you're absolutely sure there is no entry in the act_ru_job table?

Something in the logs?

"For the version 5.12, how much do you estimate the cost to upgrade to a recent version ?"

Depends on how much logic you have of course. But normally, the upgrades for Activiti are pretty smooth.
Only if you have changed the engine internally (plugging in custom stuff, overriding others, etc.) it could be more work.

abataleb
Champ in-the-making
Champ in-the-making
Hi

Thanks for the answer
Unfortunately, the logs are no longer available
I did not manage to reproduce the problem, I will get back to you with traces and content of activiti tables once I will reproduce the problem.


Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.