Pfewww! must not be a very viable idea then to have a BAT file automatically call a CF page to start the initialization process ??? Probably better to do it manually ;-)
> yup > > >>> [EMAIL PROTECTED] 06/03/05 10:12 am >>> > Just curious, are any of my messages arriving?? > > > Barry Beattie wrote: > > > hi all > > > > > > we have some large singleton cfc's in server memory. the first user that hits > the app after a cold start-up or a restart usually cops these singletons > being > wound up. > > > > > > any suggestions on how to get an "onServerStart" type of event to trigger > the wind up? Unfortunatly, onApplicationStart in Application.cfc is still > tied to the > request so the first page hit still does all the hard work. > > > > We have seen this sort problem as well, one example was a big Govt > > Intranet, the other a _very_ busy site and both running CF5 and were > > loading a mass of stuff into the application scope to make the sites run > > faster/better. > > > > What we did which seemed to work well was use an application scope > > variable to say that everything was loaded up properly and then used > > that variable to switch between the site proper and a "hang on a minute" > > page. Then if you hit the page first up from a restart you got the "hang > > on a minute" page and in the background everything started loading. We > > put a 1 second meta-refresh on the "hang on a minute" page so even the > > person that first hit the site hardly noticed anyway :-) You need a > > bunch of locks and things like pause tags to make sure it all works > > properly but it wasn't hard to implement and has been very reliably. > > > > I recollect another site that had a "walker" that wandered the site > > regenerating all of the "dynamic" menus to static files after a site > > structure change, that technique was quite effective as well. IIRC the > > site restart trigger set off a once-only scheduler that ran the walker > > that self-refreshed al-la the Spectra install scripts if anyone > > remembers that :-) > > > > In-house as a hosting company we use the server scope to flag the > > restart/rebuild of a bunch of things after a server start, could be > > useful in this context........ > > > > HTH > > > > Kym K > > > > --- > > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to leave-cfaussie- > [EMAIL PROTECTED] > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > ________________________________ > Taco Fleur - E-commerce Development Manager > Shelco Searches & Services > An Authorised ASIC Information Broker > www.shelco.com.au > Ph: + 61 7 3236 2605 > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to leave-cfaussie- [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to leave-cfaussie- [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ ________________________________ Taco Fleur - E-commerce Development Manager Shelco Searches & Services An Authorised ASIC Information Broker www.shelco.com.au Ph: + 61 7 3236 2605 --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
