The second config block is the for Site 2 reactor.xml.


On 6/16/06, Teddy Payne <[EMAIL PROTECTED]> wrote:
So let me get this straight:

you have webroot that has the reactor folder in it? wwwroot/reactor

This would mean your mapping to reactor would be /reactor which points to somepath/webroot/reactor

If the first site is in the webroot, then you would have webroot/reactor.xml and webroot/site2/reactor.xml

This would mean you need a data directory for webroot/data and webroot/site2/data which would each need a mapping:

/Site1Data -> somepath/webroot/data
/Site2Data -> somepath/webroot/site2/data

Site 1:

<config>
    <project value="Site1" />   
    <dsn value="DSN" />
    <type value="mssql" />
    <mapping value="/Site1Data" />
    <mode value="development" />
</config>

<config>
     <project value="Site2" />   
     <dsn value="DSN" />
     <type value="mssql" />
     <mapping value="/Site2Data" />
     <mode value="development" />
</config>

Would this be the correct assumption?


On 6/16/06, Sophek Tounn <[EMAIL PROTECTED]> wrote:
Teddy,

Thanks for answering. The first site in the root directory, the second one is in a folder of the root. wwwroot/site2.

I did what you said, still not working.

Anyone more suggestions?

thanks
Sophek

On 6/16/06, Teddy Payne < [EMAIL PROTECTED]> wrote:
Are the two sites in two different directories?  If so, I found that I need to have reactor.xml for each folder.  In each reactor.xml, you need to change the project name so they are different.  This means also that you will need a new mapping for the data directories for each folder for the saved csutomizeable objects.

I get the sense that you have overlapping project files.


On 6/16/06, Sophek Tounn < [EMAIL PROTECTED]> wrote:
HI All,

I'm running an instance of reactor on a site, it runs great, but I need to run another instance of that site with slight look and feel changes. So I copy my site to something like this.. http://www.mysite1.com/mysite2 when I run it. I get this error:

Even though I created its own reactor.xml file. Anyone know what this is?

 The argument REACTORFACTORY passed to function init() is not of type reactor.reactorFactory.
If the component name is specified as a type of this argument, the reason for this error might be that a definition file for such component cannot be found or is not accessible.
 
The error occurred in D:\Inetpub\virtualaiddrive\reactor\core\objectFactory.cfc: line 7
Called from D:\Inetpub\virtualaiddrive\Nepal\reactor\reactorFactory.cfc: line 14
Called from D:\Inetpub\virtualaiddrive\Nepal\action.cfm: line 1
Called from D:\Inetpub\virtualaiddrive\Nepal\action.cfm: line 1

5 :     <cfset variables.TimedCache = CreateObject("Component", "reactor.util.TimedCache").init(createTimeSpan(0, 0, 0, 5)) />
6 :    
7 :     <cffunction name="init" access="public" hint="I configure the table factory." output="false" returntype=" reactor.core.objectFactory">
8 :         <cfargument name="config" hint="I am a reactor config object" required="yes" type="reactor.config.config" />
9 :         <cfargument name="ReactorFactory" hint="I am the reactorFactory object." required="yes" type=" reactor.reactorFactory" />

Resources:

thanks
sophek

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



--
<cf_payne />

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



--
<cf_payne />



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

Reply via email to