[coldbox:21866] Upgrade notes for moving application from Coldbox 3.1 to 3.8.1

Restart ColdFusion services, if your using anything other then ehcache then you will need to have it cleared as well. Not sure exactly how this gets like this, but it is been seen with corrupted cache entries.

Thanks for the instant reply.
But, We are not using any other cache service and issue is still existing.

Is any compatibility guide or upgrade notes available for upgrading coldbox from 3.1 to 3.8.1?

Note: Trying to run ColdBox 3.8.1 on ColdFusion 11 and facing below error:

The issue got resolved by adding following mapping:
this.mappings["/coldbox"] = “<>/coldbox”;

Thanks,
Mehul Saiya

Hi Mehul! See if the fix on this thread is related. You can also follow the same troubleshooting steps:

https://groups.google.com/forum/#!topic/coldbox/p5O1TAbGLOA

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Hi Brad,

Yes, its similar issue.
Issue started coming up on migrating the application on ColdBox 3.8.1 and ColdFusion 11.

Thanks!

I’d still like to know why it was erroring for you. You say you added this mapping:
this.mappings["/coldbox"] = “<>/coldbox”;

However, if the coldbox folder was already in the web root, that mapping should have been redundant. Do you have any server-level mappings for /coldbox?

As a test, what if you temporarily commented out your mapping that cause the issue again and then dumped out expandPath( ‘/coldbox’ ) or directoryList( ‘/coldbox’ ) to see exactly where the mapping was resolving to. Perhaps you have more than one copy of the ColdBox framework on your hard drive with conflicting mappings.

Or to be more specific, dump out:
expandPath( ‘/coldbox/system/cache/policies/’ )
directoryList( ‘/coldbox/system/cache/policies/’ )

The first one should correctly resolve to the location where you have the ColdBox framework, and the latter should show a file LRU.cfc in the list.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com