Jobexecutor setup in a clustered environment

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2014 02:27 AM
Hi All,
I use JBOSS EAP 6.0.
My setup is that we have 3 servers which has activiti-rest.war up and running. I ve customized the rest war by adding the ProcessEngine build at deployment time.
Each time ERROR logs are getting printed by ActivitiOptimisticLockException.
The main intention is to reduce the logs.
The same copy of war is deployed in all the 3 servers.
As for now we dont have any impact on the application, since jobexecutor works on the locking strategy.
How can I handle the OptimisticLockexceptions?
Is it better to handle the Exceptions or to have a custom jobexecutor like Agito?
Or anybody has a better solution?
Thanks in advance,
Arun
I use JBOSS EAP 6.0.
My setup is that we have 3 servers which has activiti-rest.war up and running. I ve customized the rest war by adding the ProcessEngine build at deployment time.
Each time ERROR logs are getting printed by ActivitiOptimisticLockException.
The main intention is to reduce the logs.
The same copy of war is deployed in all the 3 servers.
As for now we dont have any impact on the application, since jobexecutor works on the locking strategy.
How can I handle the OptimisticLockexceptions?
Is it better to handle the Exceptions or to have a custom jobexecutor like Agito?
Or anybody has a better solution?
Thanks in advance,
Arun
Labels:
- Labels:
-
Archive
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2014 03:54 AM
Hi Arun,
Which Activiti version are you using?
Currently this exception is logged only on debug level.
Best regards,
Which Activiti version are you using?
Currently this exception is logged only on debug level.
Best regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2014 02:23 AM
Hi,
We are using Activiti 5.11. As for now this is in production. So version change cannot be applied.. Please help me with a workaround
We are using Activiti 5.11. As for now this is in production. So version change cannot be applied.. Please help me with a workaround

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2014 05:23 AM
You can always override the job executor with your own implementation. But the easier way would be to upgrade to Activiti 5.15.1 I think.
Best regards,
Best regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2014 01:58 AM
Hi Tijs,
Is it ok if I m making the changes in source of 5.11 to log the OptimisticLockingException at 'FINE' level?
Is it ok if I m making the changes in source of 5.11 to log the OptimisticLockingException at 'FINE' level?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2014 08:26 AM
Sure. It is lowered in recent versions of Activiti.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2014 10:05 AM
Thank you..

