Hi all.

I've just began to really test MG 3.2.  I have the following situation
on my development machine.  I have an existing MG 3.1 app.  I have MG
3.1 in a /ModelGlue3.1 directory off the webroot.  I have MG 3.2 in a /
ModelGlue3.2 directory off the webroot.

My existing app "Heart2Health" is using MG 3.1.  Here is the
application.cfc of this app:

<cfset this.name = "Heart2Health" />
<cfset this.sessionManagement = true>
<cfset this.sessionTimeout = createTimeSpan(0,0,30,0)>

<cfset this.mappings["/ModelGlue"] = expandPath('/ModelGlue3.1')>
<cfset this.mappings["/cf-uniform"] = expandPath('/cf-uniform4.5')>
<cfset this.mappings["/model"] =
getDirectoryFromPath(getCurrentTemplatePath()) & "/model">

I testing MG 3.2 on a new app "PALS".

<cfset this.name = "PALS" />
<cfset this.sessionManagement = true>
<cfset this.sessionTimeout = createTimeSpan(0,0,30,0)>

<cfset this.mappings["/ModelGlue"] = expandPath('/ModelGlue3.2')>
<cfset this.mappings["/cf-uniform"] = expandPath('/cf-uniform4.5')>
<cfset this.mappings["/model"] =
getDirectoryFromPath(getCurrentTemplatePath()) & "/model">

Here's the problem I run into;

I restart the CF server.  I run the Heart2Health app and everything
runs fine.  Then I run the PALS app and I get the following error:

The method setscaffoldCustomTagMappings was not found in component C:
\inetpub\wwwroot\ModelGlue3.1\gesture\configuration
\ModelGlueConfiguration.cfc.
Ensure that the method is defined, and that it is spelled correctly.

The error occurred in C:\inetpub\wwwroot\coldspring\beans
\DefaultXmlBeanFactory.cfc: line 946
Called from C:\inetpub\wwwroot\coldspring\beans
\DefaultXmlBeanFactory.cfc: line 632
Called from C:\inetpub\wwwroot\ModelGlue3.2\gesture\loading
\ColdSpringBootstrapper.cfc: line 124
Called from C:\inetpub\wwwroot\ModelGlue3.2\gesture\loading
\ColdSpringBootstrapper.cfc: line 134
Called from C:\inetpub\wwwroot\ModelGlue3.2\gesture\ModelGlue.cfm:
line 78
Called from C:\inetpub\wwwroot\PALS\index.cfm: line 41

My knowledge of the Coldspring nitty gritty is limited.  A first
glance, it looks like my PALS app is trying to use the CS factory from
Heart2Health.  But my guess is that Coldspring runs outside of model
glue.  If I restart the CF server, then run the PALS app, it runs
correctly.  Is Coldpsring running in it own application or server
space?  The coldspring.xml file should honor any cf mappings,
shouldn't it?

Any insight would be appreciated.

Byron

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