Just make sure that you don't recreate a ReactorFactory at each request, but
continue to use the same object instance...
W.
On Tue, Apr 22, 2008 at 2:54 PM, Adam Cameron <[EMAIL PROTECTED]> wrote:
> To me it sounds like MG is set to reload on each request. You want MG not
> > to reload or rescaffold and you want reactor in production mode.
> >
>
> Hi Doug.
>
> I have this in my ColdSpring.xml file:
>
> {code}
> <property name="reload"><value>false</value></property>
> <!-- Rescaffold is overridden by reload - if reload is false, rescaffold's
> setting doesn't matter -->
> <property name="rescaffold"><value>false</value></property>
> {code}
>
> There's nothing either way specifically in ModelGlue.xml (my understanding
> being that this responsibility is taken over by ColdSpring.xml in the latest
> version of M-G).
>
> One variation from the installation guidelines I have is that my /reactor
> mapping is not set in CF, but is done in Application.cfc. And I have the
> mapping because I've got the reactor dir in a different dir:
> [base]/com/alagad/Reactor (the CF and site webroot are [base]/PhotoGallery;
> I'm using the inbuilt web server for this). Could this be an issue? I
> would expect if there was any problems with said approach I'd be getting far
> more serious issues than what I'm seeing (ie: I'd expect it not to work at
> all), so presume it's OK.
>
> As per previous, I reckon people shouldn't spend too much time on this @
> present as I'll set up some test rigs this evening in a more controlled
> environment, and have a mess around. I might be able to sort it out myself.
>
> That said, I do appreciate the suggestions: I'd just hate for you lot to
> be spending more time on this than I can, at present. If you know what I
> mean.
>
> Cheers.
>
>
> --
> Adam
>
>
>
>
>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
> 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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --