> We're running an e-commerce site on 2 Dell PowerEdge servers
> using Cold Fusion, VB COM Objects, Microsoft Transaction Server,
> and SQL Server 7. The site is now in live-testing phase, and
> we get this error message every now and then, most frequently
> when the site is accessed for the first time after inactivity:
>
> Error Occurred While Processing Request
>
> Error Diagnostic Information
>
> Unable to acquire lock for single threaded sessions within
> timeout period.
>
> Please raise the request timeout limit to lengthen the time
> available to acquire the lock.
>
>  The error occurred while processing an element with a
> general identifier of (CFAPPLICATION), occupying document
> position (1:1) to (1:152) in the template file
> D:\APPDIR\..\APPLICATION.CFM.
>
> We checked the 'Single-threaded Sessions' option in CF Admin
> and set all the other locking options to 'No Checking'. We use no
> explicit Client or Application variables, only Session variables.
> We use no CFLOCKs at all. The request timeout value is 60 seconds.

Unfortunately, I don't have a direct answer for you. This is a new feature,
and Allaire has been recommending that you use CFLOCKs instead (at least,
that's what I'm hearing) so I haven't seen any uses of single-threaded
locking in operation yet.

However, as an ugly workaround, you might consider using CFTRY around
CFAPPLICATION. In your CFCATCH, redirect the user using CFLOCATION, which
should give you the time margin that this apparently needs. I realize that's
not the ideal solution, but it's better than an error, I suppose.

On an off-topic note, I'd be interested in hearing about how you're using
MTS in your application, as I'm doing MTS and MSMQ stuff myself now. I'd
especially be interested in how you decided to segment your logic - such as
whether you should do a specific task within MTS or within the database
tier.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to