Managed Hosting



Lighthouse Pro
Project Home Known Issues Screenshots Contact Project

Lighthouse Pro Issue: New Install with Model Glue 3.1 and ColdSpring 1.2

Name: New Install with Model Glue 3.1 and ColdSpring 1.2
ID: 164
Project: Lighthouse Pro
Type: Bug
Area: Code
Severity: Normal
Status: Fixed
Related URL:
Creator: DHickman
Created: 07/26/11 1:10 PM
Updated: 08/15/16 1:41 PM
Description: Creating a fresh install of Lighthouse Pro yields an error: "Could not find the included template /ModelGlue/gesture/ModelGlue.cfm." The file exists in that location. Both ModleGlue and Coldspring are subdirectories to Lighthouse.
History: Created by hickman@avmet.com (DHickman) : 07/26/11 1:10 PM

Comment by cfjedimaster (Raymond Camden) : 07/26/11 1:12 PM
Add a CFMapping for /ModelGlue that points to the folder. Ditto for /ColdSpring.

Comment by hickman@avmet.com (DHickman) : 07/27/11 3:59 AM
After creating both CFMappings get the error "The XML module to be loaded from "/config/ModelGlue.xml" can't be loaded because the file can't be found or read The error occurred in C:\ColdFusion9\wwwroot\LighthousePro\ModelGlue\gesture\module\XMLModuleLoader.cfc: line 69"

Comment by cfjedimaster (Raymond Camden) : 07/27/11 9:25 AM
Hmm. I believe you also need a mapping /lhp that points to where LHP is installed. Btw, this is all not necessary in CF8 where you can do per app mappings.

Comment by hickman@avmet.com (DHickman) : 07/27/11 9:31 AM
Created /lhp mapping and get the same error. I am using CF9 so didnt think I needed mappings as per the install doc.

Comment by cfjedimaster (Raymond Camden) : 07/27/11 9:34 AM
First off - I apologize. I double checked the code and I never make dynamic mappings for MG/CS, just LHP. So that part was right. Let me dig for a bit.

Comment by cfjedimaster (Raymond Camden) : 07/27/11 9:39 AM
Try this please. Open config/ColdSpring.xml.cfm, find:

<property name="configurationPath"><value>config/ModelGlue.xml</value></property>

and change to

<property name="configurationPath"><value>/lhp/config/ModelGlue.xml</value></property>

Comment by hickman@avmet.com (DHickman) : 07/27/11 9:49 AM
made that one change and get the same error: "The XML module to be loaded from "/config/ModelGlue.xml" can't be loaded because the file can't be found or read."

Comment by cfjedimaster (Raymond Camden) : 07/27/11 9:53 AM
Sounds like caching - add ?init=true to the URL.

Comment by hickman@avmet.com (DHickman) : 07/27/11 10:15 AM
That worked. Thanks so much!
Now if I install on another server will any/all those mappings need to be added?

Comment by cfjedimaster (Raymond Camden) : 07/27/11 10:18 AM
You should just need MG and CS mappings, that's all.

Comment by sebgmc (Sebastiaan van Dijk) : 07/20/12 8:13 AM
CFJediMaster: wouldn't it be wise to add a section to the install-documentation about this issue? And that when using Railo one needs mappings for both MG and CS!

Comment by cfjedimaster (Raymond Camden) : 07/23/12 7:52 AM
Going to simply make this require CF8 - simplest solution. As for Railo, it is up to them, not me.

Updated by cfjedimaster (Raymond Camden) : 07/23/12 7:52 AM

Comment by byteless (Asim) : 08/15/16 6:40 AM
New install throw the error for missing coldspring.beans.DefaultXmlBeanFactory
I look up and found that fine on

Once I added that file I start getting the following error.
Function argument mismatch.
The containsBean function does not specify the same arguments or arguments in the same order in the coldspring.beans.DefaultXmlBeanFactory ColdFusion component and the coldspring.beans.BeanFactory ColdFusion interface.

The error occurred in C:/ColdFusion11/cfusion/wwwroot/LHP/ModelGlue/gesture/loading/ColdSpringBootstrapper.cfc: line 48
Called from C:/ColdFusion11/cfusion/wwwroot/LHP/ModelGlue/gesture/loading/ColdSpringBootstrapper.cfc: line 127
Called from C:/ColdFusion11/cfusion/wwwroot/LHP/ModelGlue/gesture/loading/ColdSpringBootstrapper.cfc: line 138
Called from C:/ColdFusion11/cfusion/wwwroot/ModelGlue/gesture/ModelGlue.cfm: line 82
Called from C:/ColdFusion11/cfusion/wwwroot/LHP/index.cfm: line 51

46 :
47 : <cffunction name="createBeanFactory" output="false" hint="Configures and returns the bean factory for use.">
48 :    <cfset var bf = createObject("component", "coldspring.beans.DefaultXmlBeanFactory").init( this.defaultColdSpringAttributes, this.defaultColdSpringProperties ) />
49 :    <cfset var csPath = this.coldspringPath />
50 :    <cfset var originalCsPath = csPath />

Comment by byteless (Asim) : 08/15/16 6:44 AM
figure it out.
It only works with ColdSpring 1.2

Comment by byteless (Asim) : 08/15/16 1:41 PM
here is the next error once logged in.
Error Executing Database Query.

[Macromedia][SQLServer JDBC Driver][SQLServer]Incorrect syntax near '@P3'.

The error occurred in C:/LiveWebSites/clients/LHP/model/IssueGateway.cfc: line 158
Called from C:/LiveWebSites/clients/LHP/model/IssueService.cfc: line 35
Called from C:/LiveWebSites/clients/LHP/controller/IssueController.cfc: line 470
Called from C:/LiveWebSites/clients/ModelGlue/gesture/eventrequest/EventContext.cfc: line 344
Called from C:/LiveWebSites/clients/ModelGlue/gesture/eventrequest/EventContext.cfc: line 262
Called from C:/LiveWebSites/clients/ModelGlue/gesture/eventrequest/phase/Invocation.cfc: line 96
Called from C:/LiveWebSites/clients/ModelGlue/gesture/eventrequest/EventContext.cfc: line 189
Called from C:/LiveWebSites/clients/ModelGlue/gesture/ModelGlue.cfc: line 297
Called from C:/LiveWebSites/clients/ModelGlue/gesture/ModelGlue.cfm: line 97

To add a comment to this bug, please login using the link above.