That sounds reasonable. Circular loops are often caused by a mistake and
such mistakes are hard to pin down.

I have seen plenty of cases where a developer tried to do too much in an
error handler and caused problems, so it wouldn't surprise me at all.


DW


On Thu, Sep 2, 2010 at 6:49 AM, Rawlins <[email protected]> wrote:

> Thanks DW,
>
> I see what you mean. However, this only occurring intermittently. So
> one time I can call the action and it'll work just fine, another time
> it'll timeout and throw this exception, which makes it hard to
> test :-)
>
> The controller in question which is throwing the exception is a
> controller I use for handling exceptions. If the app is in debug mode
> it passes them to a page which displays the full stack trace,
> otherwise it displays a nice friendly error message, and send the full
> stack trace in an email to the admin.
>
> My guess is that this infinite loop is perhaps caused by the fact that
> my exception handler is itself thrown an exception, and round and
> abouts it goes. sound likely?
>
> Thanks mate,
>
> Robert
>
> On Sep 2, 11:35 am, [email protected] wrote:
> > Yup, that's what the stack trace indicates.
> > I've seen this behaviour when a circular result happens.
> >
> > Like: Event A processes then adds a Result for Event B which processes
> then adds a result for Event A which......
> >
> > Eventually this will timeout.
> >
> > In Model Glue 3 there is a setting for the loop threshhold. Look in the
> ModelGlueConfiguration.cfc
> >
> > You can lower this value to 10 or 15 and MG will throw a more specific
> error for you and that'll help you find the circular issue, I'd bet.
> >
> > DW
> >
> > Sent from my Verizon Wireless BlackBerry
> >
> >
> >
> > -----Original Message-----
> > From: Rawlins <[email protected]>
> >
> > Sender: [email protected]
> > Date: Thu, 2 Sep 2010 03:26:59
> > To: model-glue<[email protected]>
> > Reply-To: [email protected]
> > Subject: [Model-Glue] Intermittent Timeouts
> >
> > Hello Guys,
> >
> > I'm having a few issues with seemingly intermittent request timeouts
> > and I'm trying to find my way to the root of the problem.
> >
> > I have started by looking through the server exception logs and find
> > plenty of entries which look like this:http://pastebin.com/BHuQ0Ahy
> >
> > Can anyone shed any light as to what problem this may be indicating?
> > It appears to me as if it's timing out when calling addResult() from
> > one of my controllers? is that correct?
> >
> > Thanks,
> >
> > Robert
> >
> > --
> > 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]<model-glue%[email protected]>
> > For more options, visit this group athttp://
> 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]<model-glue%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/model-glue?hl=en
>



-- 
William Osler - "We are here to add what we can to life, not to get what we
can from life."

-- 
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