Answered
CFLock not throwing exception
Why does the following code not throw an exception when timeout is exceeded?
CF Admin "Timeout Requests after seconds" is checked and set to 2 seconds.
<cftry>
<cflock scope="application" type="exclusive" timeout="2" throwontimeout="yes">
<cfset sleep(3000)>
</cflock>
<cfcatch type="any">
<h1>My Exception</h1>
<cfdump var="#cfcatch.type#">
<cfdump var="#cfcatch.Message#">
</cfcatch>
</cftry>
