I'm trying to figure out how to make Reactor work in a shared
environment. but I'm getting problems even starting a test page.
At teh moment I'm working on teh assumption that the layout of my web
sites has to be something like;
(on the local server):
c:\inetpub\wwwroot\testsite\
c:\inetpub\wwwroot\testsite\cfcs\reactor.xml
c:\inetpub\wwwroot\testsite\reactor\reactorfactory.cfc
c:\inetpub\wwwroot\testsite\reactor\base
c:\inetpub\wwwroot\testsite\reactor\config
etc
etc
Since it's a shared environment, and any number of sites might have
reactor, I have to use it without a mapping called "reactor". However
the docs say:
[quote]
Once you've downloaded Reactor you will need to make a mapping named
"/Reactor" which points to the /Reactor directory you downloaded. The
reactorFactory component should be in the root of the "/Reactor" path.
Note: You do need to name this mapping "/Reactor". Renaming this
mapping will cause problems.
[/quote]
So does it work ok without a "reactor" mapping or not?
If i create the reactorfactory with this code:
<cfset Reactor = CreateObject("Component",
"reactor.reactorFactory").init(expandPath("cfcs\Reactor.xml")) />
I would have thought that should create the reactorfactory ok, but i'm
getting the following error message:
[quote]
The argument REACTORFACTORY passed to function init() is not of type
reactor.reactorFactory.
[/quote]
This error is from line 7 of the reactorFactory.cfc.
Any ideas what part I've got wrong?
--
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
-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/