Thanks for the advice Jeff, most appreciated. I'd be surprised if they were restarting like that. This problem appears after a few hours sometimes. I'll do some further digging. Thanks again.
RObin On May 2, 9:37 am, Jeff Coughlin <[email protected]> wrote: > The site doesn't "go to sleep". What's most likely happening is they > are restarting their server on a regular basis (probably once every 24 > hours). This is not something you're really supposed to do with a CF > server (or PHP, ASP, JSP, etc). People usually do it because they > have bad code running on their server eating up resources - rather > than fix the problem, they flush the server cache by rebooting. This > is why I strongly advise against using any type of shared hosting in > any web programming language. > > Your options are: > 1. Find out when they reboot the CF service (or the server) and > automate some kind of ping to the domain on port 80. > 2. Don't use shared hosting (suggested). > > Regards, > > -- > Jeff Coughlin > Web Application Developerhttp://jeffcoughlin.com > > On May 2, 2009, at 12:19 PM, loxley wrote: > > > > > Thanks Jeff, i'll have my host check it out as I can't access the CF > > admin. > > > Incidentally, I'm wondering is this is also what is causing another > > problem I have, where the Farcry application appears to go to sleep > > after a few hours. The net result is that I can't access my site's > > home page because it trips the hosts SeeFusion Timout. They tell me > > that I have to set up a scheduled task to keep pinging a page on the > > site to keep it awake. If it does go to sleep, i have to access the / > > farcry admin and login in (they white listed that for me, so no time > > out) to wake up the app. Each time it needs to be woken up, it seems > > like OnApplicationStart is triggered, which I thought was a one time > > event when the app was first run. > > > Thanks for any info you can share on this. > > > Robin > > > On May 2, 8:46 am, Jeff Coughlin <[email protected]> wrote: > >> Robin, > > >> In the CF administrator, enable J2EE session variables > > >> CF Admin --> Memory Variable -- > Use J2EE session variables > >> (checkbox) --> Submit changes (not CF restart required) > > >> Regards, > > >> -- > >> Jeff Coughlin > >> Web Application Developerhttp://jeffcoughlin.com > > >> On May 2, 2009, at 11:41 AM, loxley wrote: > > >>> I'm using 5.0.2 (shared host) and have just encountered a login > >>> problem (using Firefox on a Mac). When I login Farcry seems to > >>> accept > >>> the login username and password (it doesn't say they were > >>> incorrect), > >>> but i'm returned to the login page. When I check the farLog > >>> records i > >>> can see that the login was accepted, but immediately after (a second > >>> or so) i can see an anonymous login that fails, sometimes there are > >>> two anonymous login attempts. > > >>> Has anybody encountered this before? > > >>> Robin --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
