Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Scott Stroz / Scott Stroz (Scott Stroz)
Created: 06/21/2013
Components: ORM Support
Versions: 10.0
Failure Type: Crash
Found In Build/Fixed In Build: Final / 285347
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem Description: When secondary cache is enabled, and there are objects in the cache, and a request is made that triggers a call to ormReload() and before that request is completed, another request is made from another browser window to the site, CF will throw an error that 'Another CacheManager' with the same name exists' error
Steps to Reproduce:
1. Set up an application to use ORM with secondaryCache enabled.
2. Make sure you trigger a process that would put objects into cache.
3. Open another browser window and browse to any page in the site.
4. In the first browser window, make a request that will trigger a call to ormReload().
5. Before the previous request is complete, refresh the page in the second browser window.
6. You should receive a error message in both browser windows:
Another CacheManager with same name '_ORM_{application name}' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. The source of the existing CacheManager is: URLConfigurationSource [url=jar:file:/C:/ColdFusion10/cfusion/lib/ehcache-core-2.5.1.jar!/ehcache-failsafe.xml]
Actual Result:
You get the error noted above
Expected Result:
You should not get an error
Any Workarounds: None that I know of.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3583147
External Customer Info:
External Company:
External Customer Name: Scott Stroz
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows 7 (also happens on Windows Server 2008 R2 Datacenter)
SQL Server 2008
ColdFsuion 10
Attachments:
Comments: