I'm trying to upgrade to 3.2 from Unity and I'm getting this same error.  I 
followed the directions at the Upgrade notes below but it doesn't address 
this issue.  My index.cfm looks like:

<cfsilent>
<cfset ModelGlue_APP_KEY = "public" />
<cfset ModelGlue_PARENT_BEAN_FACTORY = application.cs />
<cfset ModelGlue_LOCAL_COLDSPRING_PATH = expandPath(".") & 
"/config/coldspring.xml" />

</cfsilent><cfinclude template="/ModelGlue/gesture/ModelGlue.cfm" />


I've already changed all of my ModelGlue.unity.framework.ModelGlueConfiguration 
to instead be ModelGlue.gesture.configuration.ModelGlueConfiguration with 
no change.


I see <ref bean="modelGlue.ModelGlueConfiguration" /> in the 
ModelGlue/gesture/configuration/ModelGlueConfiguration.xml but I don't see 
an actual bean definition in the file (as the error message states).  

Hrrmm... OK, I may have just solved this, Ryan, if you look in your 
modelglue coldspring.xml, my definition from Unity looked like:

<bean id="modelGlueConfiguration" 
class="ModelGlue.gesture.configuration.ModelGlueConfiguration">

Note the ID is not modelglue.modelglueconfiguraiton.  I changed it to:

<bean id="modelglue.modelGlueConfiguration" 
class="ModelGlue.gesture.configuration.ModelGlueConfiguration" 
> 

And I think the beanfactory is now loading (at least, I'm getting to a new 
error that looks like my application rather than a MG boot error. :) 

If that is also your issue, that might be something worth adding to the 
Wiki.  I haven't touched that file in ... 5+ years so it's worked for a 
long time, even if wrong.


Brian



On Tuesday, October 2, 2012 5:43:27 AM UTC-7, Dan Wilson - @gmail.com wrote:
>
> Here is the upgrade notes:
>
>
> http://docs.model-glue.com/wiki/UpgradingModelGlue/UpgradingFromModelGlue2#UpgradingFromModel-Glue2
>  
> Dw 
> On Oct 2, 2012 8:38 AM, "Ryan Stille" <[email protected] <javascript:>> 
> wrote:
>
>> Is 3.2 a drop-in upgrade? I downloaded it and changed my mapping to point 
>> to it, and am now getting this error:
>>
>> There is no bean registered with the factory with the id 
>> modelGlue.ModelGlueConfiguration 
>> I am guessing the error has to do with this section of my ColdSpring.xml 
>> file: 
>>
>> <bean id="modelGlueConfiguration" 
>> class="ModelGlue.unity.framework.ModelGlueConfiguration"> <property 
>> name="reload"><value>false</value></property>
>>  <property name="rescaffold"><value>false</value></property>
>>  <property name="debug"><value>false</value></property>
>>  <property name="defaultEvent"><value>home</value></property> 
>>                 ...etc..
>> </bean>
>>              I tried changing "unity" in the opening tag to "gesture" 
>> but that didn't help.
>>
>> -Ryan
>>
>> On Monday, October 1, 2012 6:44:48 PM UTC-5, Dan Wilson - 
>> [email protected] <javascript:> wrote:
>>>
>>> There are a lot of objects Model Glue uses internally that are also 
>>> wired through ColdSpring.
>>>
>>> If you can use the latest version, version 3.2, we've lazy loaded the 
>>> framework and instantiation times are much shorter.
>>>
>>>
>>> DW
>>>
>>> On Mon, Oct 1, 2012 at 6:54 PM, Ryan Stille <[email protected]> wrote:
>>>
>>>> Hi, this might be a question better suited for the ColdSpring group, 
>>>> but I am guessing someone here can help me. I am trying to figure out why 
>>>> my application takes so long to reinit. When I hit the homepage of the 
>>>> site, it takes around 1-2 seconds to load. But if I pass in the init 
>>>> parameter, the page takes around 7-12 seconds. I've added some code to 
>>>> MG/ColdSpring to log how long it takes to instantiate each of my 
>>>> components. I have something like 75-100 components defined in 
>>>> ColdSpring.xml.
>>>>
>>>> The log shows each one takes 0-1ms. The controllers too. How can I 
>>>> track down whats taking so long? I am on version 2.0 beta 1. Yes, that's 
>>>> old. I've tried a current version before, sometime last year I think, and 
>>>> init times were the same if not a little longer.
>>>>
>>>> When I turn on debugging and track execution times, it crashes CF 
>>>> and/or my browser. My next step is to try the debugger and step through 
>>>> it, 
>>>> but last time I tried that everything I was stepping through was taking 
>>>> 100x as long as it should have, so not sure how well that's going to work.
>>>>
>>>> Thanks,
>>>> -Ryan
>>>>
>>>> -- 
>>>> 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
>>>> model-glue+...@**googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/**group/model-glue?hl=en<http://groups.google.com/group/model-glue?hl=en>
>>>
>>>
>>>
>>>
>>> -- 
>>> Plutarch - "The mind is not a vessel to be filled but a fire to be 
>>> kindled."
>>>  
>>  -- 
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/model-glue?hl=en
>
>

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