wiki:FAQ-Listener-Plugin-Filter-Does-Not-Reload

Why is my lister, plugin or event-filter not reloading after I make changes to it and restart Mach-II??

If you have made a change to a developer extended component and restarted Mach-II (via the MACHII_CONFIG_MODE = 1 or Mach-II Dashboard) and your component does not reflect the changes you made, then you probably have template caching turned in your CFML engine administrator.

When this template caching is on, your CFML engine will cache templates until the server is restarted or you clear the template cache. One option is to turn off the template caching.

How to turn off the template caching in my CFML engine?

Adobe ColdFusion 8

  1. Login to the ColdFusion administrator
  2. In the left hand navigation, click "Caching"
  3. Click the "Clear Template Cache Now" button
  4. On the same page, uncheck "trusted cache" and "save class files" options
  5. Click "Submit Changes" button
  6. On the same page, click the "Clear Template Cache Now" button for good measure again

OpenBD

  1. Login to the Open BlueDragon administrator
  2. In the left hand navigation, click "Caching"
  3. Under "File Cache Settings", set the "Trusted Cache" radio to "No" (do not set the file cache size to 0 or OpenBD will recompile each template / CFC every time)
  4. Click the "Submit" button
  5. On the same page in the "Cache Status" section, check the flush check box under the "File" row
  6. Click "Flushed Checked Caches" button

Railo

  1. Login to the local context of your Railo administrator
  2. In the left hand navigation, click "Performance/Caching?" or optionally: http:// {SERVER NAME} /railo-context/admin/web.cfm?action=server.cache
  3. Select "Always" radio button
  4. Click update
  5. Alternatively, you can clear the templates by clicking "Clear Template Cache" on that page.
  6. Or use it programatically by calling the pagePoolClear() built-in function in Railo. For future reference, pagePoolList() returns an array with all cached templates for this context.

Back to FAQs