The doubly frustrating thing about this error is that if you were to go into the init() method that is throwing the error and, just before the cfreturn tag, you did a cfdump of the value being returned and then a cfabort, the type shown the dump WOULD EXACTLY MATCH the return type being specified. It is related to something CF is doing under the hood when it generates and caches in memory the compiled Java class files.
On 5/25/06, Brian Kotek <[EMAIL PROTECTED]> wrote: > > Andy it's a button in the caching section of the cf administrator. > > > On 5/25/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > > I tried every one of the sample apps that came with MG. All of them gave > > the > > same error. I tried a mapping and that doesn't seem to work either. All > > of > > the code appears to be in the correct locations as follows: > > > > a) www is my webroot. > > b) ModelGlue is directly within my webroot > > c) The error being returned doesn't seem to make sense. The system path > > to > > the XMLModelGlueLoader.cfc is > > "C:\phpdev\www\ModelGlue\Core\XMLModelGlueLoader.cfc". Which corresponds > > exactly to the call in the CreateObject function > > "ModelGlue.Core.XMLModelGlueLoader". > > > > I even created a mapping in the CFADMIN and it still doesn't work. > > Admittedly I've never had to create a mapping before so I'm not sure it > > was > > done correctly. Here's the mapping: > > > > /ModelGlue C:\phpdev\www\ModelGlue > > > > > > <!----------------//------ > > andy matthews > > web developer > > certified advanced coldfusion programmer > > ICGLink, Inc. > > [EMAIL PROTECTED] > > 615.370.1530 x737 > > --------------//---------> > > > > -----Original Message----- > > From: Raymond Camden [mailto:[EMAIL PROTECTED] > > Sent: Thursday, May 25, 2006 11:39 AM > > To: CF-Talk > > Subject: Re: Problem setting up Model-Glue... > > > > > > Ditto Dave's recommendations. Also, what code are you running? The > > sample app I used at the preso or something else from me? I've shared > > other MG apps before, but normally as "stuff to look at", not stuff to > > "extract and run". So for example, I shared the code for the > > ColdFusionCookbook.com site, but not the install directions. > > > > On 5/25/06, Andy Matthews <[EMAIL PROTECTED] > wrote: > > > I'm actually trying to hit one of his sample apps. No changes made to > > the > > > code which came with Model Glue. One of my CFUG members said I need to > > > create a mapping "www/ModelGlue" to "/ModelGlue", but that's not > > stated in > > > the quickstart or the readme. > > > > > > <!----------------//------ > > > andy matthews > > > web developer > > > certified advanced coldfusion programmer > > > ICGLink, Inc. > > > [EMAIL PROTECTED] > > > 615.370.1530 x737 > > > --------------//---------> > > > > > > -----Original Message----- > > > From: Matt Williams [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, May 25, 2006 11:10 AM > > > To: CF-Talk > > > Subject: Re: Problem setting up Model-Glue... > > > > > > > > > I watched Ray's preso too. What page are you calling to get the error? > > Did > > > you copy the modelglueapplicationtemplate to a new directory and > > change > > the > > > application name as he demonstrated? > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241491 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

