Skip to content

Model-Glue under load will throw MissingInclude exceptions #10

@ghidinelli

Description

@ghidinelli

My servers have been under a reasonable amount of load lately and I'm getting random occurrences of this exception:

MissingInclude: Could not find the included template /views/layout/template.cfm.

Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc.
Using relative paths (for example, template="index.cfm" or template="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.

    /var/www/pukka/shared-prod1/ModelGlue/gesture/view/ViewRenderer.cfm (28, )
    /var/www/pukka/shared-prod1/ModelGlue/gesture/view/ViewRenderer.cfc (80, )
    /var/www/pukka/shared-prod1/ModelGlue/gesture/eventrequest/EventContext.cfc (661, )
    /var/www/pukka/shared-prod1/ModelGlue/gesture/eventrequest/EventContext.cfc (275, )
    /var/www/pukka/shared-prod1/model/framework/EventContextWithOnQueueComplete.cfc (64, )
    /var/www/pukka/shared-prod1/ModelGlue/gesture/ModelGlue.cfc (243, )
    /var/www/pukka/shared-prod1/ModelGlue/gesture/ModelGlue.cfm (83, )
    /var/www/pukka/main-prod1/index.cfm (90, )

I believe I always get more than one at a time - so something is under load and breaks with multiple requests.

I'm back @sipacate!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions