Logging ActivitiOptimisticLockingException in Clustered Env.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2013 09:41 AM
Hi, When i display logs, i see thousands of;
This is exceptions causes because of clustered enviorment and they are not worth considering for us.
To disable this log we added following lines in log4j configuration:
My question is: Is there more efficient way to turn off this logs?
Thanks for help.
Eren Öztürk
org.activiti.engine.ActivitiOptimisticLockingException: TimerEntity[2839258963] was updated by another transaction concurrently
This is exceptions causes because of clustered enviorment and they are not worth considering for us.
To disable this log we added following lines in log4j configuration:
<logger name="org.activiti.engine.impl.jobexecutor.JobAcquisitionThread" > <level value="FATAL"/> </logger> <logger name="org.activiti.engine.impl.interceptor.CommandContext" > <level value="FATAL"/> </logger>
My question is: Is there more efficient way to turn off this logs?
Thanks for help.
Eren Öztürk
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2013 09:46 AM
If you want to remove the logging, I'm afraid the only solution is to higher the level to ERROR/FATAL. You could also look at the cause of the issue. Is it possible to run the job-executor only on one machine in the cluster? Because the AOLExceptions are cause by multiple job-executors acquiring the same jobs… Having multiple job-executors is perfectly fine off course, but you'll have to take the AOLExceptions that come with it

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2013 10:17 AM
Thanks for quick replay.
Unfortunately it is not possible run the job-executor only on one machine. There is about 2 million jobs and their due date is almost the same.
Unfortunately it is not possible run the job-executor only on one machine. There is about 2 million jobs and their due date is almost the same.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2013 10:24 AM
LOL… Okay, you're right. About 2 million jobs, that's a big setup. Do you mind sharing what project you're using Activiti for? Just curious

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2013 10:31 AM
Collection Management System for telecommunication companies.
