I wonder if there's a way to load class files into the template cache
manually. If so, perhaps you could clear your cfclasses, enable trusted
cache, load all class files into trusted cache, and at this point all files
would be in memory, never again creating a class file that could conflict
with your existing files. You would need to ensure the "Maximum number of
cached templates" value was set high enough to hold all of your templates in
memory.

On another note, as I'm not sure this was clear, but clearing trusted cache
doesn't remove class files -- it removes the contents of those class files
from the memory cache. Upon the next request, the class file is read from
disc (if it exists; if not, it re-compiles it) back into the cache.

-Dain


On Tue, Feb 22, 2011 at 11:12 AM, Bobby Hartsfield <bo...@acoderslife.com>wrote:

>
> Well, we thought we were finally rid of this one by disabling the "Save
> Class Files" setting in the CFAdmin but we just had another report of the
> error.
>
> Short of a rewrite in java or the like, if anyone has any ideas at all, I'd
> love to hear them.
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342480
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to