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>
which would seem to say that unless the reactor is in a mapping called
"reactor" nothing is going to work.
So that means this version at least (which I downloaded from the SVN)
can never work in a shared hosting environment and therefore I've
wasted two days of Easter messing around with something that just
plain isnt going to work.
For it to work, every place throughout reactor where it calls a cfc is
going to have to be changed. And the purpose of reactor is to save
work. If i had never started using reactor, I'd have finished the job
I was trying to do hours ago. Now i have to start the job again doing
it the old way.
I do wish people who write things for coldfusion would either realise
that there are a LOT of sites in shared hosting environments and
provide for it, or else state in the docs somewhere that it wont work
in a shared hosting environment.
Cheers
Mike Kear
======================================================
Who right now is pretty grumpy at having wasted two precious days of
holiday stuffing about with something that will not work
=======================================================
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, Mike Kear <[EMAIL PROTECTED]> wrote:
> OK I found one problem - the xml file isn't being passed in, only the
> path and file name to the xml file. Isnt it supposed to pass in the
> xml object?
>
>
> <cfset Reactor = CreateObject("Component",
> "reactor.reactorFactory").init(expandPath("cfcs\Reactor.xml")) />
>
> and the error message shows that when the reactorFactory is being
> instantiated, the NOT IsObject(arguments.configuration)> is
> evaluating to true, indicating that whats' in the arguments scope is
> not a XML Object, but a string. In fact putting a CFDUMP and CFABORT
> just above shows that the arguments scope contains only a single value
> "configuration" containing the string
> C:\Inetpub\wwwroot\testsite\cfcs\Reactor.xml
>
>
> 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, João Fernandes <[EMAIL PROTECTED] > wrote:
> >
> > Mike,
> >
> > the docs are not updated. You can run reactor without the mappings, you just need that folder in your webroot.
> >
> > For the error it seems connected to your xml format file. Check your xml file.
> > Enable Debugging and see where does the problem rises.
> >
> > João Fernandes
> >
>
--
-- 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/

