This has suddenly cropped up in a pretty simple MG3:Gesture
application (CF8.0.1) I'm working on .  Whenever an error is thrown
the application times out on a CFLOOP in EventContext.cfc, where it's
looping over and queuing the results (that said, the timeout has
reported various loops between line numbers 350 - 500).  If I increase
ColdFusion's request timeout it will eventually just run out of
memory.  The most frequent report is for line 370 (EventContext.cfc):

<cfset addEventHandler(variables._eventHandlers[results[i].event]) />

I've tried sweeping changes to the modelglue.xml (removing all
redirect="true" or reconfiguring the error handling) and nothing
takes.  The problem is persistent on both my local environment and our
production server, and is not present in other MG3 applications
running off the same MG core directory.  The only major change to the
application architecture was the addition of an extra controller and
bean which handled uploaded image processing / writing and was called
from other controllers' xe_events.  Removing all references to these
from the modelglue and coldspring configuration files didn't affect
the timeout problem.

Needless to say, this has made debugging incredibly painful.  I had to
table working on this issue because of a tight deadline and have
worked around it by setting my request timeout to 10 sec and finding
my errors in the exception stack dumped by robust debugging under the
CFLOOP timeout.  This also shows that any error immediately causes the
application into the timeout-tailspin, as you can see by this example:


16:06:41.041 - coldspring.beanDefException - in /coldspring1-2-final/
beans/BeanDefinition.cfc : line 328

            property requested (Publications) does not exist for bean:
barBean


16:06:42.042 - Expression Exception - in /Applications/ColdFusion8/
wwwroot/some_application/controller/fooController.cfc : line 119

            Element FOOBARMANAGER is undefined in a Java object of type class
[Ljava.lang.String;.


16:08:37.037 - Application Exception - in /ModelGlue/gesture/
eventrequest/EventContext.cfc : line 326

            The request has exceeded the allowable time limit Tag: CFLOOP


I'm hoping someone has run into this before, or can point me in a good
direction for tracking it down.

Thanks a lot!
Danny (long-time listener, first time caller)

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

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to