Actually that's not correct.

You put reactor in the webroot... i.e. /reactor/reactorFactory. If you don't do that, the Factory will instantiate just fine but the rest of the framework will puke by throwing a type error... something to the effect that create(Gateway|Record)() tried to return an object of the incorrect type. This happens because CFCs use the path to the folder they're in for their "type" hence /reactor and /myApp/reactor are 2 entirely different things.

You only have to have one copy of Reactor per webroot, not a copy per application.

You don't need a mapping, you don't need anything but a folder called reactor in your webroot and it needs to contain the framework, i.e. /reactor/reactorFactory.cfc, /reactor/core, etc.

Laterz,
J


------------------------------------------------

Jared C. Rypka-Hauer

Continuum Media Group LLC

http://www.web-relevant.com

Member, Team Macromedia - ColdFusion


"That which does not kill me makes me stranger." - Yonah Schmeidler















On Feb 20, 2006, at 8:49 AM, Brian Rinaldi wrote:

Tormod, Thanks. I thought I had tried that and it didn't work, but it turns out it was a silly permissions issue. Doh! So I fixed the permissions and tried again..works fine...sorta (now I have a db permissons issue - ugh, but that isn't Reactor's fault either).


From: "Tormod Boga" <[EMAIL PROTECTED]>
Sent: Monday, February 20, 2006 9:28 AM
To: [email protected]
Subject: SV: Reactor For CF Reactor on shared hosting


Hi Brian,

 

I think this was discussed earlier. From what I recall, the solution was to not use a mapping at all. Instead, you put the reactor package in a subfolder called ”reactor” from within your application folder.

One problem discussed using a mapping was that someone else might have defined a ”/reactor” mapping as well, pointing somewhere else. From what you write, I gather that’s what your shared host is trying to avoid, by appending your siteID to the mapping.

 

Anyway, it should work by putting the reactor code in a reactor subfolder, although it might not be the perfect solution… If you use it in several applications, you would have to keep several copies of the code, which is not good at all..

 

Maybe there is others out there with a better solution?

 
 

Regards,

 

Tormod Boga

Inbusiness AS


Fra: Brian Rinaldi [mailto:[EMAIL PROTECTED]]
Sendt: 20. februar 2006 15:09
Til: [email protected]
Emne: Reactor For CF Reactor on shared hosting

 

I was wondering if anyone has experience getting Reactor working at a shared host. I am hosting with HostMySite and when I add a mapping they automatically append my site ID to it. So my mapping for Reactor looks like /reactorH74732. Obviously this is causing a problem. Any recommendations on how to resolve this? My only thought so far was to create a seperate copy of Reactor and do a search and replace...but for obvious reasons this seems like a less than desirable solution.

- Brian Rinaldi

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