Sam,

 

I haven’t had the time to look into this.  Sorry!

 

My guess is you need the project tag:  <project value=”myproject” />

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Clement
Sent: Sunday, February 05, 2006 1:15 PM
To: [email protected]
Subject: Re: Reactor For CF Reactor, Coldspring, MG

 

Still can't figure this out.  I've set up a test configuration:

1) downloaded Reactor from SVN
2) installed in my local webroot under /reactor
3) created /reactor mapping to /reactor directory

Now I have a reactor file in /Scratch (under webroot):

<reactor>
    <config>
        <dsn value="myDSN" />
        <type value="mysql" />
        <mapping value="/Scratch" />
        <mode value="always" />
    </config>

    <objects/>
</reactor>

And the following code in test.cfm (under webroot/Scratch):

<cfset reactor = createObject("COMPONENT", "reactor.reactorFactory ").init(expandPath("reactor.xml")) />
<cfset userRecord = reactor.createRecord("user") />

It all seems to work fine, but I'm still receiving the same XML parsing error...

Any ideas?


On 2/4/06, Sam Clement < [EMAIL PROTECTED]> wrote:

Well I neglected to mention that I've modified the core reactor files to work under a different custom mapping (unfortunately due to anticipated shared hosting constraints).  So I think it must be something to do with this but I can't figure out what... 

I think I'll go back to the using the unaltered reactor core files and troubleshoot from there.

Peter, I got some feedback from Kurt on this list regarding factory-bean and factory-method support in Coldspring which sounds really cool.  When that's implemented I think a Coldspring / Reactor mix will work even better.  Can't wait!



On 2/3/06, Peter J. Farrell <[EMAIL PROTECTED]> wrote:

Sean Corfield said the following on 2/3/2006 2:05 PM:

On 2/3/06, Sam Clement <[EMAIL PROTECTED]> wrote:
 

Though it might seem a bit overkill I'm using coldspring to configure and
instatiate Reactor:
   
Doesn't seem like overkill to me. Model-Glue, ColdSpring and Reactor
seem like a natural partnership...
 

Sean is right...you then can also use CS's factory method support (when Kurt gets done with it) to inject your DAO and gateway dependencies into your services.  Sounds great  to me


-- 
Peter J. Farrell :: Maestro Publishing
Member Team Mach-II :: Member Team Fusion
 
 
 
http://blog.maestropublishing.com
 
Create boilerplate beans and transfer objects for ColdFusion!
Fire up a cup of Rooibos!
http://rooibos.maestropublishing.com/
 

 

 

Reply via email to