java.lang.IllegalMonitorStateException Thrown During Rapid Updates Made Through EntryProcessors or EntryAggregators (Doc ID 1425411.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version 3.5.0 to 3.7.1.2 [Release AS10g]
Information in this document applies to any platform.

Symptoms

While performing a query during rapid updates on a cache, the following exception is being thrown on some and not all the cache server nodes:

03-Feb-2012 06:07:48 ERROR ( Log4j.CDB:3) - 2012-02-03 06:07:48.379 Oracle Coherence GE 3.7.1.2 <Error>
(thread=DataCacheServiceWorker:5, member=1): Terminating PartitionedCache due to unhandled exception: java.lang.IllegalMonitorStateException
03-Feb-2012 06:07:48 ERROR ( Log4j.CDB:3) - 2012-02-03 06:07:48.379 Oracle Coherence GE 3.7.1.2 <Error>
(thread=DataCacheServiceWorker:5, member=1):


java.lang.IllegalMonitorStateException
at java.lang.Object.notifyAll(Native Method)
at com.tangosol.net.internal.StorageVersion.commit(StorageVersion.java:176)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ResourceCoordinator.processEvent(PartitionedCache.CDB:94)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ResourceCoordinator.finalizeInvokeSingleThreaded(PartitionedCache.CDB:56)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ResourceCoordinator.finalizeInvoke(PartitionedCache.CDB:9)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.processChanges(PartitionedCache.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeFilterRequest(PartitionedCache.CDB:128)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeFilterRequest.run(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:1)
at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:619)
03-Feb-2012 06:07:49 WARN ( Log4j.CDB:3) - 2012-02-03 06:07:49.393 Oracle Coherence GE 3.7.1.2 <Warning>
(thread=DistributedCache:DataCacheService, member=1): failed to stop 1 worker threads; abandoning
03-Feb-2012 06:31:19 INFO ( Log4j.CDB:3) - 2012-02-03 06:31:19.566 Oracle Coherence GE 3.7.1.2 <Info>
(thread=DistributedCache:DatasetControlService:EventDispatcher, member=1): Restarting Service: DataCacheService
03-Feb-2012 06:31:19 INFO ( Log4j.CDB:3) - 2012-02-03 06:31:19.660 Oracle Coherence GE 3.7.1.2 <Info>
(thread=DistributedCache:DatasetControlService:EventDispatcher, member=1): Restarting NamedCache: apm_mtm

This issue is load related since this is not reproducible in any of other environments with a lower load.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms