Matt,

Thank you, sounds like a good idea. Any chance you could point me towards
some resources to learn how to do this?

Brook
At 11:39 AM 2/26/2004, you wrote:

>That is interesting. Prior to CFMX, it was guaranteed that the first
>request would complete before any additional request were handled.
>
>J2EE has the notion of startup Servlets that are run prior to the
>server being able to handle requests. You could configure a startup
>Servlet to run after all the CFMX initialization was done that just did
>a .forward() to the CFM that does your setup.
>
>-Matt
>
>On Feb 26, 2004, at 2:34 PM, Brook Davies wrote:
>
> > When my CFMX server is restarted my app needs to do a lot of
> > housekeeping.
> >  It goes out and fetches the exchange rate, it sets up some
> > application vars
> >  etc, etc.
> >
> >  This takes some time and I am finding that what is happening is if the
> >  server is restarted under load, that the running requests grows
> > quickly and
> >  they are all trying to run these startup tasks. How can I make it so
> > that
> >  only one thread runs these startup tasks and the rest sit and wait
> >  patiently for those tasks to finish?
> >
> >  Brook Davies
> >
>
>----------
>[
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to