An Architect's View

ColdFusion, Software Design, Frameworks and more...

An Architect's View

Concurrency for CFMX updated (again)

May 11, 2007 · 1 Comment

Two users reported a strange bug where calls from FutureEvent to FutureTask methods were failing with access denied. Those CFCs are both in the same directory and the access was specified as package. However, it seems that if CFMX figures out the path used for the code is different in case, it denies access. Both users were on Windows and I believe in both cases they had defined the /org/corfield/concurrency mapping as a Windows file system path that included at least one uppercase letter. When CFMX locates the called CFC (in the same directory), it seems to always generate a fully lowercase file system path and so the comparison fails (between the mapped CFC with uppercase in the path and the "discovered" CFC with all lowercase in the path). I "fixed" this by changing access="package" to access="public" on four methods in FutureTask. You can download the updated version from RIAForge.org.

Tags: coldfusion · oss

1 response so far ↓

  • 1 Sami Hoda // May 11, 2007 at 6:24 PM

    Thanks Sean for the quick updates. I'm going to be using this more and more.

Leave a Comment

Leave this field empty: