Should have done this before my first reply, but... A diff of the
ModelGlueConfiguration.cfc shows that all "ApplicationPath" strings
have been changed to "ApplicationMapping," so I assume I just need to
change that in my app's config -- will re-test this, after lunch ;-)

Jamie

On Jun 9, 10:43 am, Jamie Krug <[email protected]> wrote:
> I had a MG-3 BER version (from Jan, svn rev 116)  running an app on
> Railo just fine, but hadn't had a chance to grab the official beta
> release. I decided to give it a quick try when I saw this post, and I
> am not seeing the same error, but I am seeing a different error:
>
> "component [ModelGlue.gesture.configuration.ModelGlueConfiguration]
> has no function with name [setapplicationPath]"
>
> FWIW, I'm running a slightly more recent Railo release, 3.1.0.015.
>
> I'm running ColdSpring 1.2, and the error is generated when ColdSpring
> tries to invoke the setapplicationPath method on the above config
> object. The error is at line 940 in coldspring/beans/
> DefaultXmlBeanFactory.cfc:
>
> 939: <cfinvokeargument name="#propDefs[prop].getArgumentName()#"
> 940: value="#propDefs[prop].getValue()#"/>
> 941: </cfinvoke>
> 942: <cfelseif propType eq "map" or propType eq "list">
>
> I assumed the ModelGlue 3 beta 1 would be fully backwards compatible
> -- is it possible that I need to change some XML config params?
>
> Regards,
> Jamie
>
> On Jun 2, 8:09 pm, SuperModelGlue <[email protected]> wrote:
>
> > I am trying to launch a test MG app on Railo and am hitting a snag.
> > When I visit the MG app I get:
>
> > Railo 3.1.0.012 Error (Java.lang.classformaterror)
> > Message         Invalid index 16 in LocalVariableTable in class file
> > application_cfc$cf
> > Java Stacktrace
>
> > Invalid index 16 in LocalVariableTable in class file application_cfc
> > $cf
> >         at java.lang.ClassLoader.defineClass1(Native Method):-2
> >         at java.lang.ClassLoader.defineClass(ClassLoader.java:621):621
> >         at java.lang.ClassLoader.defineClass(ClassLoader.java:401):401
> >         at railo.commons.lang.PhysicalClassLoader.loadClass
> > (PhysicalClassLoader.java:116):116
> >         at railo.runtime.PageSourceImpl.compile(PageSourceImpl.java:225):225
> >         at 
> > railo.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:167):
> > 167
> >         at 
> > railo.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:102):102
>
> > I have done a bit of testing and found that when the following in
> > Application.cfc happens:
>
> >         <cfloop from="1" to="#arrayLen(mgInstances)#" index="i">
> >                 <cfset mgInstances[i].executeEvent(arguments.eventName, 
> > values) />
> >         </cfloop>
>
> > I get the error. If I remove this part I start getting:
>
> > Message         Application context not loaded!
> > Error Code
> > org.coldspringframework.webApplicationContextProxy.cantLoadApplicationContext
>
> > So, I'm guessing that in Application.cfc, the line:
>
> >         <cfset var mgInstances = createObject
> > ("component","ModelGlue.Util.ModelGlueFrameworkLocator").findInScope
> > (appScope) />
>
> > Is failing.
>
> > Is anyone else having issues with this? Any solutions? Thanks!!!
--~--~---------~--~----~------------~-------~--~----~
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

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to