Raj,
as I just stated in the other thread you will have to lock on processInstance.
What seems to be happening here is that some other thread is doing something
that creates logs. If you take a look at the code you'll see:
| void saveLogs(ProcessInstance processInstance) {
| LoggingInstance loggingInstance = processInstance.getLoggingInstance();
| if (loggingInstance!=null) {
| Iterator iter = loggingInstance.getLogs().iterator();
| while (iter.hasNext()) {
| ProcessLog processLog = (ProcessLog) iter.next();
| saveProcessLog(processLog);
| }
| }
| ...
|
A ConcurrentModificationException will only occurr if the Logs List is
concurrently changed.
Greetings
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922256#3922256
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922256
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user