Marc,

in the course of getting this working I logged a few bugs which were fixed
in the development branch

I believe this is a bug in CS2 alpha 1 related to abstract parent bean
definitions,  which are used in MG's configuration.

so you'll need to pull the code from github and checkout the development
branch.

let me know if that works.

Chris
On Jun 30, 2012 12:22 AM, "Marc Bakker" <[email protected]> wrote:

> Hi Chris,
>
> I copied the three files from your github to the locations mentioned,added
> a copy of Coldspring 2.0 Alpha1 into my project folder and updated the
> mapping to point to CS 2.0 Alpha-1 instead of Coldspring (v1.2).
>
> Then I did a init=true but my first request gave an Object instantiation
> exception:
>
> Object instantiation exception.
> An exception occurred while instantiating a Java object. The class must
> not be an interface or an abstract class. Error: ''.
>
> The error occurred in
> H:\www\CMS\Frameworks\coldspring\beans\AbstractBeanFactory.cfc: line 253
> Called from
> H:\www\CMS\Frameworks\coldspring\beans\AbstractBeanFactory.cfc: line 42
> Called from H:\www\CMS\wwwroot\Application.cfc: line 67
>
> Am I missing something?
>
> Thanks,
>
> Marc
>
> On Mon, Jun 25, 2012 at 1:59 PM, Chris Blackwell <[email protected]>wrote:
>
>> Marc,
>>
>> the code in my ModelGlue <https://github.com/d1rtym0nk3y/ModelGlue> repo
>> on github contains the changes needed to make it work with CS2.  The code
>> there is based on 3.2 RC1 with the following changes
>>
>> ModelGlue/gesture/loading/ColdSpringBootstrapper.cfc has been updated to
>> detect which version of Coldspring is in use and create it appropriately.
>>
>> ModelGlue/gesture/configuration/ModelGlueConfiguration.xml has had the
>> coldspring 2 xml namespaces added to the <beans> element
>>
>> ModelGlue/gesture/configuration/ColdSpring2RegistryCleaner.cfc added,
>> called by ColdSpringBootstrapper. this removes the core beans for Transfer
>> or Reactor if the libraries are not installed. Coldspring 2 will throw and
>> error if defined beans can not be instantiated.
>>
>> The changes were designed to be backward compatible with CS1.2, but its
>> not fully tested. The code was thrown together for a project i'm working
>> on, but we're since swapped to FW1, so i'm not currently using this code.
>>
>> Cheers, Chris
>>
>> On 22 June 2012 22:33, marc <[email protected]> wrote:
>>
>>> Thanks, I am looking forward to the ColdFusion 9 ORM Integration
>>> classes.
>>>
>>> Marc
>>>
>>> On Jun 22, 8:29 pm, Chris Blackwell <[email protected]> wrote:
>>> > its not really feasible to set up a CS2 parent factory,  as that would
>>> > require you to have both cs1 and cs2 running side by side which won the
>>> > work.
>>> >
>>> > fwiw,  I have managed to get model glue running with cs2. It wasn't
>>> > simple,  but it is possible.
>>> >
>>> > The updated totally unofficial code might be on github -
>>> https://github.com/d1rtym0nk3y.  If not I'll try to remember to post it
>>> > next week.
>>> > On Jun 22, 2012 5:46 PM, "Dan Wilson" <[email protected]> wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > > We haven't considered what adding CS2.0 into the mix for ModelGlue
>>> would
>>> > > entail.
>>> >
>>> > > I'm not sure of the value it would bring to the framework at this
>>> point.
>>> > >  If you wanted to use CS2 in your applications, I'm pretty sure you
>>> could
>>> > > set up a Parent Bean Factory relationship between with the internal
>>> > > ColdSpring instance and your CS2 instance.
>>> >
>>> > > *From the modelglueapplicationtemplate/index.cfm:*
>>> >
>>> > > <!---
>>> > > **HIERARCHIAL BEAN FACTORY SUPPORT**
>>> >
>>> > > If you'd like to designate a parent bean factory for the one that
>>> powers
>>> > > Model-Glue,
>>> > > simply do whatever you need to do to set the following value to the
>>> parent
>>> > > bean factory
>>> > >  instance:
>>> > >  <cfset ModelGlue_PARENT_BEAN_FACTORY = ??? />
>>> > > --->
>>> >
>>> > > On Fri, Jun 22, 2012 at 12:42 PM, marc <[email protected]> wrote:
>>> >
>>> > >> Hmmm, maybe I should have jumped into the code and check before
>>> saying CS
>>> > >> is not compatible...
>>> > >> I remember running into some issues using CF9 ORM and MG 3.2.439/CS
>>> 1.2
>>> > >> that had to do with the way CF9 handles instantiation of the
>>> entities. I
>>> > >> wanted to inject beans in the entities and found that CS had
>>> difficulties
>>> > >> with that. But hey - if nobody is having problems with that, I
>>> think I
>>> > >> should look again..
>>> >
>>> > >> Anyway, still my question remains: What's happening witrh MG and
>>> CS2.0?
>>> > >> Are there plans to integrate MG with Narwahl?
>>> > >> Can't check the CS site, it's down (again). I hope so since MG with
>>> CS
>>> > >> are the frameworks I have been using exclusively for the last 2
>>> years.
>>> >
>>> > >> Marc
>>> >
>>> > >> On Friday, June 22, 2012 4:49:54 PM UTC+2, marc wrote:
>>> >
>>> > >>> Hi,
>>> >
>>> > >>> A few months ago I tried out Model-Glue with CF 9.01 ORM using and
>>> > >>> found out that the version of Coldspring that ships with MG
>>> 3.2.439 is
>>> > >>> not compatible with CF9 ORM. Recently I saw on the CS site version
>>> 2.0
>>> > >>> is out. Can I use CS 2.0 with MG latest version? If yes, how?
>>> >
>>> > >>> Thanks,
>>> >
>>> > >>> Marc
>>> >
>>> > >>  --
>>> > >> 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
>>> >
>>> > > --
>>> > > 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]
>>> > > 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
>>>
>>> --
>>> 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
>>>
>>
>>  --
>> 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
>
>
>
>
> --
>
> Met vriendelijke groet,
>
> Marc Bakker
>
>  --
> 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

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