Mike - Your schedule is not our responsibility.   Don't lay it on us.

Doug
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Mike Kear
Sent: Sunday, April 16, 2006 9:16 AM
To: [email protected]
Subject: Re: [Reactor For CF] Problems with configuring reactor for shared
environment

Well i've had it with a mapping and without.  I've had it with
reactorFactory.cfc in the root level with the base,config,core etc
folders at the first level below, and it complained it couldnt find
the components it was trying to instantiate.

So i put it with reactor at the first level below the root, and base,
config, core etc at the level below that.  Then it instantiated
reactorFactory.cfc ok but the init method complained it couldnt find
the xml file, even though it was looking for it in the right place.

In fact there is a struct key called arguments.configuration, with the
correct path to the xml file (i proved that with a cfdump and
cfabort).  But the code in teh reactorFactory.cfc uses that with the
following instantiation code:


  <cfset arguments.configuration = CreateObject("Component",
 "reactor.config.config").init(arguments.configuration) />

That quite simply means the only place it's going to look for a
component called config.cfc is in a location under a mapping called
"reactor".

Therefore the only way this is going to work without a mapping called
"reactor" is if I go through and edit all the code for any references
to teh mapping "reactor".   In which time i could have finished the
job I wanted to use reactor for in the first place.

And i can't wait till Monday    This is EASTER weekend - i have
obligations to my family too. I just have to do this job the old way
if it takes me all night. As i said if i hadnt tried to use reactor,
on the assurances of João  that it would work, I"d have had the job
completed by dinner time tonight.  Now i have to start from the
beginning and hope i have it finished by morning.

What a fun way to spend Easter holiday weekend.   Thanks a lot.


Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month






On 4/16/06, Matt Williams <[EMAIL PROTECTED]> wrote:
> Since I'm using Reactor with Model Glue and Mach II, I'm not sure how to
> help your situation, but I am using Reactor without a mapping on my
> development machine. Just downloaded it from SVN too. So don't give up. I
> think you're just not instantiating correctly. This list is a quiet on the
> weekend. There will be more folks around to help Monday.
>
>
>
> On 4/16/06, Mike Kear <[EMAIL PROTECTED]> wrote:
> >
> I looked into the reactorFactory.CFC and in the init method, it says this:
>
> <cfif NOT IsObject(arguments.configuration)>
>        <cfset arguments.configuration = CreateObject("Component",
> " reactor.config.config").init(arguments.configuration) />
> </cfif>

 

-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/





-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/


Reply via email to