Title:
Bug 81773:Several coldbox applications have been reported that fail once memory tracking and profiling is turned on in their apps
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Luis Majano / Luis Majano (Luis Majano)
Created: 01/25/2010
Components: Server Monitoring
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Major / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Problem:
Several coldbox applications have been reported that fail once memory tracking and profiling is turned on in their apps. I believe it might be with the ability of the monitor to get the size of objects. the failure lies because the profiling affects the ColdBox cache which holds many references to objects.Is the memory profiling trying to do something to objects, call methods on it? Something?
Method:
You can read the thread here: http://forums.coldbox.org/index.cfm?event=ehMessages.dspMessages&threadid=573584F6-FF6E-E829-9AB0D5463BF39863I have Coldbox 3.0 running on a CF9 Enterprise version in Production environment. I launched the Server Monitor today and ran "Profiling" and "Memory Tracking" a couple of times today. And the moment I did that, I started these errors :-java.util.ConcurrentModificationExceptionCF_LOCALSCOPELINE: 28Template: C:\websites\coldbox\system\cache\MTCacheManager.cfcID: CF_TEMPLATEPROXYLINE: 78Template: C:\websites\coldbox\system\services\RequestService.cfcID: CF_TEMPLATEPROXYLINE: 145Template: C:\websites\coldbox\system\Coldbox.cfcAnd once this happens, all the autowiring of Model CFC's starts failing as well. Basically, the whole application falls apart. And the moment, I stop "Profiling" and "Memory Tracking" it recovers back again in few seconds.
Result:
Application fails
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040823
External Customer Info:
External Company:
External Customer Name: Luis Majano
External Customer Email: 7A3D2E124563615A99201549
External Test Config: 01/25/2010
Attachments:
Comments: