Coldbox outside root causing same name interceptor collision in two apps

276 views Asked by At

I have two applications running concurrent on a server, with coldbox at the same folder level as each of the app root folders

They both call an interceptor named authenticate.cfc but app1's authenticate.cfc has different code than app2's authenticate.cfc

app1 works fine , app2 gives an error as is apparently using app1's authenticate.cfc interceptor

i restart the server, attempt app2, it works fine, then goto app1 and it gives an error , as it is attempting app2's same named interceptor

I have tried no_inheritance, but it did not seem to work...why would this be occuring?

according to the error report, the CF_TEMPLATEPROXY always starts off fine, using the correct path D:\apps\app1\Application.cfc correct

then travels to the coldbox.system.coldbox for UDF and Templateproxy for interceptorstate.cfc

then the last action called is CF_CFPage , which is now referenced to the wrong directory D:\apps\app2\interceptors\authenticate.cfc

1

There are 1 answers

3
Jay Rizzi On BEST ANSWER

Component cache was the issue, it must be turned off in a setup where coldbox resides at the same level as the app root folders

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