Hi,
Just wondering how to automatically handle a JServer App crash :
AFAIK B4J Web applications use Jetty as an embedded http server and run in their own process.
In case of application crash all clients are disconnected and unable to use the server.
(a simple error in a sql statement not protected by Try/Catch block can easely crash your server)
On the opposite, script based language (PHP,...) running with an external Web Server will not crash the server in case of error in the script.
To secure a B4J WebServer application, is it possible to use a kind of "WatchDog" to monitor the app is running and to restart it in case of failure?
Thanks !
Just wondering how to automatically handle a JServer App crash :
AFAIK B4J Web applications use Jetty as an embedded http server and run in their own process.
In case of application crash all clients are disconnected and unable to use the server.
(a simple error in a sql statement not protected by Try/Catch block can easely crash your server)
On the opposite, script based language (PHP,...) running with an external Web Server will not crash the server in case of error in the script.
To secure a B4J WebServer application, is it possible to use a kind of "WatchDog" to monitor the app is running and to restart it in case of failure?
Thanks !