Gary Brown created BAM-124:
------------------------------
Summary: Hibernate concurrency mod exception appears to stop activity event
collection
Key: BAM-124
URL:
https://issues.jboss.org/browse/BAM-124
Project: Business Activity Monitoring
Issue Type: Bug
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 1.0.0.M4
When the following exception occurred, it appeared to stop further activity events from
being sent to the activity server.
{noformat}
02:46:17,493 SEVERE [org.overlord.bam.activity.collector.BatchedActivityUnitLogger]
(Timer-5) Failed to send Activity Unit: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819) [rt.jar:1.7.0_07]
at java.util.ArrayList$Itr.next(ArrayList.java:791) [rt.jar:1.7.0_07]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:263)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:190)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at
org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)
[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:973)
[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at org.overlord.bam.activity.store.jpa.JPAActivityStore.store(JPAActivityStore.java:197)
[activity-store-jpa-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at
org.overlord.bam.activity.server.impl.ActivityServerImpl.store(ActivityServerImpl.java:91)
[activity-server-impl-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at
org.overlord.bam.activity.collector.activity.server.ActivityServerLogger.sendMessage(ActivityServerLogger.java:92)
[collector-activity-server-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at
org.overlord.bam.activity.collector.BatchedActivityUnitLogger$1.run(BatchedActivityUnitLogger.java:108)
[activity-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at java.util.TimerThread.mainLoop(Timer.java:555) [rt.jar:1.7.0_07]
at java.util.TimerThread.run(Timer.java:505) [rt.jar:1.7.0_07]
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira