tag:blogger.com,1999:blog-2973278314141154226.post7390333840728648648..comments2024-03-06T17:26:59.126+05:30Comments on ColdFusion Tips: Restart your Application without restarting your ColdFusion ServerUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-2973278314141154226.post-37360121686178331002013-07-03T20:21:36.742+05:302013-07-03T20:21:36.742+05:30Thanks for your suggestion Upendra. In both the ca...Thanks for your suggestion Upendra. In both the cases we do not required to restart the Application Server.Anonymoushttps://www.blogger.com/profile/12784865753632555213noreply@blogger.comtag:blogger.com,1999:blog-2973278314141154226.post-62889653683878546102013-07-03T17:51:36.832+05:302013-07-03T17:51:36.832+05:30We can also call onApplicationStart() to reinitial...We can also call onApplicationStart() to reinitialize in your case. You have used ApplicationStop() that is also good as it again initializes all your application scope variables.<br /><br />In both the cases we don't have to restart our application server.Java Readerhttps://www.blogger.com/profile/00898567318310181437noreply@blogger.comtag:blogger.com,1999:blog-2973278314141154226.post-17944407299240622192013-07-02T19:33:29.532+05:302013-07-02T19:33:29.532+05:30Its really a good article. I really let to know ma...Its really a good article. I really let to know many good things after reading this. Thanks Upendra for such a nice and organized article.<br /><br />Few days back, in one of my project i need to make changes in cfcs and then upload the updated cfcs through FTP client. After uploading the updated cfcs, it was still not reflecting my application. Then i reached at the conclusion that i have to restart the coldfusion server. But client's codes are in one of the shared server so we do not have access to the CF Server. So, i was supossed to restart the CF server from codes and then i used "ApplicationStop()" function to restart the application server and it really worked for me. You can also create a simple cfm page let's say restartApp.cfm and put inside that and you can run this cfm page whenever you want to restart your coldfusion server.Anonymoushttps://www.blogger.com/profile/12784865753632555213noreply@blogger.comtag:blogger.com,1999:blog-2973278314141154226.post-67115778176626714912013-07-02T19:31:20.312+05:302013-07-02T19:31:20.312+05:30Nice Info, Upendra.
I was only knowing about onApp...Nice Info, Upendra.<br />I was only knowing about onApplicationStart(); till now, good to know how ApplicationStop(); works.Shambhuhttps://www.blogger.com/profile/06209463331489487130noreply@blogger.com