Hi Dain, Thanks for the response and suggestion. We actually never had trusted cache enabled. We did, however, have "Save Class Files" enabled and were getting the error regularly.
Brook Davies was also having the same issue and ended up writing some code that deleted the specific class files. It resolved the issue temporarily if I remember correctly. We decided to just disable the "Save Class Files" instead of writing code to delete related files. It resolved the issue for us for a while; we didn't hear anything for about 2-3 weeks. Unfortunately, about 3 days ago, we finally got another report of it. Personally, I know of no way to load files into the trusted cache manually. Is the "Trusted Cache" related to the saved classes? We also have thousands and thousands of files in the application. We had issues with the trusted cache in the past and were advised to disable it (by some very reputable performance consultants in the CF community.) .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Dain Anderson [mailto:da...@terradotta.com] Sent: Tuesday, February 22, 2011 12:51 PM To: cf-talk Subject: Re: Linkage Error - attempted duplicate class definition for name 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:342483 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm