Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Fabrice Reynolds / Fabrice Reynolds (Fabrice Reynolds)
Created: 09/08/2015
Components: Documentation
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / All users will encounter
Locale/System: ALL / Windows 10 64 bit
Vote Count: 4
Problem Description:
Coldfusion 11 uses Hibernate 4 in which CacheProviders are depreciated in favor of RegionFactory. CF11 does not provide a mechanism to specify a RegionFactory or even specify a cache provider other than EHCache. Any string other than EHCache will throw an error.
This means that it is not possible to implement any second level other than the EHCache that ships with ColdFusion 11! The way that RegionFactory implementation seems a bit of a hack.
Steps to Reproduce:
Create a basic application with ORM enabled. Set the ormsettings.secondarycacheenabled to true and change the ormsettings.cacheprovider to be anything other than EHCache, for example Hashtable or fully qualified path to a RegionFactory class.
Actual Result:
An exception is thrown:
Detail Supported cache provider is EhCache.
Message Cache Provider Hashtable is not supported.
Expected Result:
Either set the ormsettings.cacheProvider to one of the documented (https://wikidocs.adobe.com/wiki/display/coldfusionen/ORM+settings) providers or a fully qualified Fully name of the class for any other cache provider.
Any Workaround
none at present
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4051715
External Customer Info:
External Company:
External Customer Name: Fabrice Reynolds
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
- September 08, 2015 00:00:00: 1_CF11-Hibernate-Provider-Stace-Trace.txt
Comments: