Yeah...that is what fixed it.  It had an entry in there by default <bean
ref="reactorConfiguration"> that I assume would use the poperties set in
that bean...but I guess not :-D.  I ended up just putting the full path in.

Eric

-----Original Message-----
From: Dinner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 06, 2007 8:26 PM
To: CF-Talk
Subject: Re: Model Glue and Reactor

Hey Eric, not sure if this is what you're after, but I've got this:

        <alias alias="ormAdapter" name="ormAdapter.Reactor" />
        <alias alias="ormService" name="ormService.Reactor" />
        <bean id="reactorConfiguration" class="reactor.config.config">
            <constructor-arg
name="pathToConfigXml"><value>/corps/mysuperproject/config/reactor/Reactor.x
ml</value></constructor-arg>
            <property
name="project"><value>mysuperproject</value></property>
            <property
name="dsn"><value>mysuperproject_dev</value></property>
            <property name="type"><value>mysql</value></property>
            <property
name="mapping"><value>/corps/mysuperproject/model/data/reactor</value></prop
erty>
            <property name="mode"><value>production</value></property>
        </bean>

In my main coldspring.xml file (along with all the other model-glue specific
settings).  Note the absolute path (cough) to the Reactor.xml-  that'll
avoid any strangeness that might come about via relative paths, just to
cut out that bit of uncertainty.

Assuming MG:U is loading up but just not loading your reactor config- not
sure
if that was your only problem or not.

Have fun folks, I'm off for a bit!

On 9/6/07, Eric Roberts <[EMAIL PROTECTED]> wrote:
>
> OK...I hard coded the pathToConfigXML value as the default in the argument
> in the function in reactor/reactorfactory.cfc and it worked fine.  So I am
> suspecting that it is not picking up the Coldspring.xml file properly or
>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287944
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to