Hi Francis,

Are you still having difficulties with this?

If so, I thought it might be helpful to point out that the error you
posted is a lock timeout, not a request timeout. This means that your
request timed out while waiting for other requests that are being
single-threaded via the lock. When you mentioned that you had raised
the timeout setting, it wasn't clear to me whether you were referring
to an increase to the request timeout value (e.g., via the CF admin or
the use of a <cfsetting> tag) or to the timeout attribute on the
<cflock> tag.

Forgive me if you are already aware of this, but increasing the lock
timeout value will not help this situation if requests that are
executing inside the lock repeatedly time out, as the app will
continue to re-load until a request manages to completely execute all
the code within the lock.

--
Ezra Parker



On Sun, Nov 22, 2009 at 8:39 AM, Francis <[email protected]> wrote:
> That's my plan too. But I'm also looking into rewriting the app since
> its very small and my business logic is already in my controller.
>
> Thanx for the suggestions.
>
>
>
> On Nov 22, 9:50 am, Rich <[email protected]> wrote:
>> Francis-
>>
>> Is there anyway you can ghost the files on your troubled server onto
>> another and work from there? I'm sure the greater minds on the list
>> may have some better alternative, but if I were you, stuck with a
>> production issue and limited support resources, I'd try to copy the
>> exact file structure in its entirety onto a different machine (non-
>> production), see if I can create the issue there and see what
>> happens.  Since the error is a ModelGlue error, if you can create the
>> issue on the second machine, I'd try re-installing the ModelGlue core
>> files and starting over with a fresh install of ModelGlue on that
>> second box and seeing if the new files helped the problem. Until
>> someone else comes online, that's what I'd do, hardly to say that's
>> the right course you should be taking though....
>>
>> HTH,
>>
>> Rich
>>
>> On Nov 22, 2009, at 8:42 AM, Francis wrote:
>>
>>
>>
>> > Yes these are set up correctly.
>>
>> > On Nov 22, 12:37 am, [email protected] wrote:
>> >> Verify the following:
>>
>> >> Report execution times is off in the CFAdmin
>> >> Memory Tracking is off in the CFAdmin
>> >> Server monitoring is off in the CFAdmin
>> >> Reload is set to false in ColdSpring.xml
>>
>> >> ------Original Message------
>> >> From: Francis
>> >> To: model-glue
>>
>> >> ReplyTo: [email protected]
>> >> Subject: [Model-Glue] A timeout occurred while attempting to lock
>> >> ModelGlueInit error - Any help?
>> >> Sent: Nov 20, 2009 2:20 PM
>>
>> >> Can someone help me with this issue?, I'm clueless about whats
>> >> causing
>> >> this. This is in our production server.
>>
>> >> I have an small application that uses model glue 2 and CF is running
>> >> on top of Jboss. It has been running fine for couple of years.
>> >> Yesterday we had to reboot the server after os patches and when I
>> >> restart the jboss server and access the application, I'm getting the
>> >> error "A timeout occured while attempting to lock ModelGlueInit".
>> >> When
>> >> I add some content to display before this
>> >> <cflock name="ModelGlueInit" type="exclusive" timeout="30"
>> >> throwOnTimeout="true">  statement, it displays and then throws the
>> >> above error.
>>
>> >> It is not accessed heavily. May be 10 users a day.
>>
>> >> Strange thing is I have similar setup in my machine and that works
>> >> fine.
>>
>> >> Any help is appreciated. I'm pulling my hair out here.
>>
>> >> Francis
>>
>> >> --
>> >> Model-Glue Sites:
>> >> Home Page:http://www.model-glue.com
>> >> Documentation:http://docs.model-glue.com
>> >> Bug Tracker:http://bugs.model-glue.com
>> >> Blog:http://www.model-glue.com/blog
>>
>> >> You received this message because you are subscribed to the Google
>> >> Groups "model-glue" group.
>> >> To post to this group, send email to [email protected]
>> >> To unsubscribe from this group, send email to
>> >> [email protected]
>> >> For more options, visit this group 
>> >> athttp://groups.google.com/group/model-glue?hl=en
>>
>> >> Sent from my Verizon Wireless BlackBerry
>>
>> > --
>> > Model-Glue Sites:
>> > Home Page:http://www.model-glue.com
>> > Documentation:http://docs.model-glue.com
>> > Bug Tracker:http://bugs.model-glue.com
>> > Blog:http://www.model-glue.com/blog
>>
>> > You received this message because you are subscribed to the Google
>> > Groups "model-glue" group.
>> > To post to this group, send email to [email protected]
>> > To unsubscribe from this group, send email to
>> > [email protected]
>> > For more options, visit this group at
>> >http://groups.google.com/group/model-glue?hl=en
>>
>> Rich
>>
>> Rich Leach
>> Advanced Certified Adobe ColdFusion Developer
>> [email protected]http://www.cfsnap.com
>> 303-913-7338
>> Instant Messenger:
>> AOL AIM: cfsnaprich
>> Instant Video Conference:
>> APPLE MobileMe: [email protected]
>
> --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/model-glue?hl=en
>

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to