Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Paolo Groppo / Paolo Groppo (paolog)
Created: 04/10/2013
Components: Server Monitoring
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 3
Problem Description: java.util.ConcurrentModificationException stop most of graphical data output in Server Monitoring when cached queries are stored in QUERY region supported by Ehcache (Use internal cache to store queries NOT flagged) and custom caches are used.
The error message is:
C:\ColdFusion10\cfusion\wwwroot\CFIDE\adminapi\servermonitoring.cfc
Wednesday, Apr 10, 2013 8:19:41 PM
flex.messaging.MessageException : java.util.ConcurrentModificationException
Steps to Reproduce:
1) Unflag "Use internal cache to store queries" in Coldfusion Administror to store queries in QUERY region supported by Ehcache
2) Create some custom caches in ehcache.xml like:
<cache name="query_15m"
maxElementsInMemory="10000"
eternal="false"
timeToIdleSeconds="900"
timeToLiveSeconds="900"
overflowToDisk="false"
diskSpoolBufferSizeMB="30"
maxElementsOnDisk="200000"
diskPersistent="false"
diskExpiryThreadIntervalSeconds="900"
memoryStoreEvictionPolicy="LRU"
clearOnFlush="true"
/>
<cache name="query_01h"
maxElementsInMemory="10000"
eternal="false"
timeToIdleSeconds="3600"
timeToLiveSeconds="3600"
overflowToDisk="false"
diskSpoolBufferSizeMB="30"
maxElementsOnDisk="200000"
diskPersistent="false"
diskExpiryThreadIntervalSeconds="3600"
memoryStoreEvictionPolicy="LRU"
clearOnFlush="true"
/>
<cache name="query_01d"
maxElementsInMemory="10000"
eternal="false"
timeToIdleSeconds="86400"
timeToLiveSeconds="86400"
overflowToDisk="false"
diskSpoolBufferSizeMB="30"
maxElementsOnDisk="200000"
diskPersistent="false"
diskExpiryThreadIntervalSeconds="3600"
memoryStoreEvictionPolicy="LRU"
clearOnFlush="true"
/>
3) Start Server Monitoring
Actual Result:
Multiple errors:
The error message is:
C:\ColdFusion10\cfusion\wwwroot\CFIDE\adminapi\servermonitoring.cfc
Wednesday, Apr 10, 2013 8:19:41 PM
flex.messaging.MessageException : java.util.ConcurrentModificationException
Expected Result:
No errors
Any Workarounds:
Revert back to internal cache
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3539667
External Customer Info:
External Company:
External Customer Name: paolog
External Customer Email:
External Test Config: My Hardware and Environment details: Coldfusion 10 Enterprise on VPS hosting at www.hostek.com, Windows Server 2008 R2 64bit, 5,5Gb RAM 100GB HD.
JVM settings: Minimum JVM Heap Size (in MB): 2048 Maximum JVM Heap Size (in MB): 2048
JVM Arguments:
-server -XX:+UseCompressedOops -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+UseParNewGC -XX:NewSize=96m -XX:MaxNewSize=96m -XX:SurvivorRatio=4 -XX:MaxPermSize=256m -XX:PermSize=256m -Dcoldfusion.home={application.home} -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random
Attachments:
- April 11, 2013 00:00:00: 1_ehcache.xml
- November 02, 2013 00:00:00: 2_log.txt
Comments: