I saw this recently on a site I have running on Railo 3.1. I had a problem
mid-init and then after I fixed it and re-inited I got an error saying that
event 'page.home' was undefined. I had to actually restart Railo to fix the
problem.

---
James  Allen
E: [email protected]
Blog: http://jamesallen.name
Twitter: @CFJamesAllen (Coldfusion / Web development)
Twitter: @jamesallenuk (General)
Lead developer of http://errrrrrr.com


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Raymond Camden
Sent: 10 December 2009 17:46
To: [email protected]
Subject: [Model-Glue] Issue with startup 'breaking' MG

I've seen this on CFLib a few times now and always thought it was my
fault (well, it probably is), but today a user also saw it with
LighthousePro, a Model-Glue app. So it still could be my fault, but
now that I've seen it in two different code bases, I'm wondering if
this is a MG issue.

So the issue: You go to your MG app. Something goes wrong, an
exception of some sort. You fix the exception and try to hit the site
again. But now MG says event page.index doesn't exist. (Or whatever
your default event is.) It is as if MG has "loaded" but loaded in a
corrupt state. You can fix it easily enough with a reinit, but if your
server restarts at night, and if a temporary error occurs, like a
timeout for example, than your app is screwed until you hit it with
the reinit.

Has anyone seen this before? I could probably make a reproducible case
by forcing a timeout with a sleep() command.


-- 
===========================================================================
Raymond Camden, ColdFusion Jedi Master

Email    : [email protected]
Blog      : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

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