tracker issue : CF-3125819

select a category, or use search below
(searches all categories and all time range)
Title:

App-specific cache breaks Admin API's getAllServerCacheMetadata()

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 02/28/2012

Components: Caching

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Public Beta / 281685

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 0

When THIS.cache.configfile is used (to specify app-specific ehcache.xml), then calling Admin API’s getAllServerCacheMetadata() returns a null pointer exception.

Repro:
1) Specify THIS.cache.configfile = "ehcache.xml" in Application.cfc
2) Restart CF Public Beta
3) Run the following:

<cfscript>
  new CFIDE.adminapi.administrator().login("password");
  sm = new CFIDE.adminapi.servermonitoring();
  writeDump(sm.getAllServerCacheMetadata());
</cfscript>

4) See this exception:

(exception message attached)

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3125819

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

  1. February 29, 2012 00:00:00: 1_exception_message_from_getAllServerCacheMetadata.cfm

Comments:

Related post: http://prerelease.adobe.com/r/?531fde761ef54411a881d08d1f470bcc
Comment by External U.
20509 | February 28, 2012 10:29:36 PM GMT
I used .cfm extension on that attached file, sorry. It's just text.
Comment by External U.
20510 | February 28, 2012 10:34:07 PM GMT
Verified this is fixed in CF10 Final (build 10,282462). Thanks! -Aaron
Comment by External U.
20511 | May 27, 2012 02:23:42 AM GMT