Mike-

For what it is worth let me add my voice to those who say this works well, if 
not flawlessly, on a shared server.

I have had no problems at all on a shares server.

- JS


____________________________________
Joshua Scott - via Treo

214-550-1818 (Office)
903-243-2922 (Mobile)
 

-----Original Message-----

From:  "Mike Kear" <[EMAIL PROTECTED]>
Subj:  Re: [Reactor For CF] Problems with configuring reactor for shared 
environment
Date:  Sun Apr 16, 2006 9:44 am
Size:  1K
To:  [email protected]

Nope.   my call to the xml file was correct.  It was being passed
through to the cfc with the correct path.  The reactorFactory.cfc
isn't recognising the path in the arguments as an object.     If I do
a CFDUMP of the arguments scope I can see that there is definitely an
object called arguments.configuration, with a value of 
C:\Inetpub\wwwroot\testsite\cfcs\Reactor.xml, yet the statement

<cfif NOT IsObject(arguments.configuration)> is evaluating to false,
because it's executing the code in the line that follows which is

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

and since there is no mapping called "reactor"  and this cfc is
already in a folder called "reactor" there is no place underneath the
reactorFactory cfc for it to find teh config cfc.


When I use the code you quoted, cut and pasted directly off your
message, i get the following error:
[quote]
Could not find the ColdFusion Component reactor.config.config.
[/quote]
which is what is to be expected, becuase (a) the xml file is NOT at
/cfcs/reactor.xml  but at cfcs.reactor.xml.    and [b] there is no
mapping called 'reactor' because i deleted the mapping, since i'm
trying to get it working without a mapping.


The root of the web site is at c:\inetpub\wwwroot\testsite.    In this
environment you can't use  "/cfcs/reactor.xml"     You can only use 
'cfcs/Reactor.xml".

And in fact the code I am using to test reactor is as follows:
<cfset Reactor = CreateObject("Component",
"reactor.reactorFactory").init(expandPath("cfcs\Reactor.xml")) />
<cfdump var="#Reactor#" />


OK perhaps others are using it in a shared environment.  Perhaps what
I should be saying instead then is that you cannot use reactor to
develop on a PC using WinXPPro and IIS because in IIS you cant have
multiple sites.  You can only have one site.

But it sitll means using reactor is impractical for developing in the

--- message truncated ---






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


Reply via email to