Ten demerits to João!  He was late! ;)

Doug

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Teddy Payne
Sent: Friday, June 16, 2006 5:17 PM
To: [email protected]
Subject: Re: [Reactor for CF] Running 2 reactors on one 1 site?

It is not a race João.  We are both happy to help.  

I just happen to be mailing several people as Sophek's email came through. 

As long as Sophek is taken care of, everyone wins.  =)

T
  


On 6/16/06, João Fernandes <[EMAIL PROTECTED]> wrote:


        that was the right suggestion, I was the one who was late,damn
firefox tabs...

        João Fernandes

        -----Original Message-----
        From: [EMAIL PROTECTED] on behalf of Sophek Tounn
        Sent: Fri 16-Jun-06 9:56 PM
        To: [email protected]
        Subject: Re: [Reactor for CF] Running 2 reactors on one 1 site?

        Joao,

        Per teddy's suggestion, I have 2 reactor.xml files 1 in root the
other in
        site2.

        thanks
        Sophek

        On 6/16/06, João Fernandes <[EMAIL PROTECTED]> wrote:
        >
        > are you setting both configs in the same reactor.xml?
        >
        > João Fernandes
        >
        > -----Original Message-----
        > From: [EMAIL PROTECTED] on behalf of Sophek Tounn
        > Sent: Fri 16-Jun-06 9:46 PM 
        > To: [email protected]
        > Subject: Re: [Reactor for CF] Running 2 reactors on one 1 site?
        >
        > thanks guys.
        >
        > I do have 2 reactor folders, 1 in root, and 1 in site2. If delete
the 
        > reactor in site2 it shoudl work right?
        >
        > Here is my new reactor.xml file
        >
        > <reactor>
        >     <config>
        >         <project value="Fema" />
        >         <dsn value="femavolunteer" /> 
        >         <type value="mssql" />
        >         <mapping value="/femadata" />
        >         <mode value="development" />
        >     </config>
        >     <config> 
        >      <project value="Nepal" />
        >      <dsn value="nepal_volunteer" />
        >      <type value="mssql" />
        >      <mapping value="/nepaldata" /> 
        >      <mode value="development" />
        > </config>
        >     <objects />
        > </reactor>
        >
        > this is what is on my test page from site2
        > <cfset Reactor = CreateObject("Component", 
        > "reactor.reactorFactory").init(expandPath("../reactor.xml"))
        > />
        >
        > <cfdump var="#Reactor#">
        >
        > When I do this I'm still getting that error. 
        >
        > Thanks
        > Sophek
        >
        > On 6/16/06, Teddy Payne <[EMAIL PROTECTED]> wrote:
        > >
        > > Good point.  I did not ask if he copied the reactor folder twice
or not. 
        > > I guess it was an assumption that one would reference reactor
once for
        > > seperate reactor.xml files.  I should have caveated that in the
premise
        > > for him.
        > >
        > >
        > > On 6/16/06, Porter, Benjamin L. <[EMAIL PROTECTED]>
wrote:
        > > >
        > > >   You can run two instances of the same reactor, but not 2
copies of 
        > > > reactor in different directories. Reactor does not use duck
typing and
        > > > requires input and output variables to be of a certain type.
Hence
        > when you
        > > > move reactor to a different directory, createobject returns an
object 
        > with a
        > > > type of  directory. reactor.reactorFactory and reactor will be
looking
        > > > for reactor.reactorFactory.  You would need to set up a custom
tag
        > > > extention path to the other directory in order for this to
work. You 
        > should
        > > > be able to use a single installation of reactor, create 2
instances
        > each
        > > > pointing to a different xml file with out any issues.
        > > >
        > > > 
        > > >  ------------------------------
        > > >
        > > > *From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
        > ]
        > > > *On Behalf Of *Sophek Tounn
        > > > *Sent:* Friday, June 16, 2006 3:18 PM
        > > > *To:* [email protected] 
        > > > *Subject:* Re: [Reactor for CF] Running 2 reactors on one 1
site?
        > > >
        > > >
        > > >
        > > > 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/mysite2when 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/
<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/
<http://www.mail-archive.com/reactor%40doughughes.net/> 
        > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
        > --
        > > > -- -- --
        > > >
        > > >
        > > >
        > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
        > --
        > > > -- -- --
        > > > Reactor for ColdFusion Mailing List
        > > > [email protected] <mailto:[email protected]> 
        > > > Archives at:
http://www.mail-archive.com/reactor%40doughughes.net/
        > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- 
        > --
        > > > -- -- --
        > > >
        > > >
        >
****************************************************************************
        > > >
        > > >
        > > > This email may contain confidential 
        > > > material. If you were not an intended recipient,
        > > > Please notify the sender and delete all copies.
        > > > We may monitor email to and from our network.
        > > >
        > > 
        > >
***************************************************************************
        > > >
        > > >
        > > >
        > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- 
        > --
        > > > -- -- --
        > > > Reactor for ColdFusion Mailing List
        > > > [email protected]
        > > > Archives at:
http://www.mail-archive.com/reactor%40doughughes.net/
<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/

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



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

Reply via email to