20 Nov 2012 8:31 AM #1
Unanswered: Detect Tomcat shutdown from ExtJS4
I have written on application in ExtJS4. Whenever the server goes down (in my case Tomcat container) how can I detect automatically from the app side without invoking any extra polling? I have couple of polling right now implemented in the app. I want to use these polling for piggybacking the response.
Please help. It is urgent.
22 Nov 2012 6:32 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I do not think Tomcat will broadcast anything to the browser. You may have to ping the server once in a while.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
22 Nov 2012 6:57 AM #3
There will be some error code for the response I am getting for all the requests right?