|
From: Georg S. <geo...@ti...> - 2003-08-13 16:14:15
|
Leif, a few hours ago I downloaded the Wrapper 3.0.4 in order to improve the uptime of my JBoss servers. Everything works fine so far, but now I am not sure anymore, whether Wrapper can solve my problems. 1) Restarting after OutOfMemory exceptions works after defining the appropriate filter. I also want the wrapper to restart the server at most 5 times. When I tested this by specifying 8 MB max. heap, the server was restarted continuously (had to kill it after jvm 7 came up). 2) The second problem is, that the (locally running, nohup-started) servers go down, when the network goes down. They seem to get a "normal" TERM, just like pressing Ctrl-C or issuing a kill (without -9). JBoss shuts down cleanly, working its shutdown hook, but Wrapper does not restart the process, as I expected. I introduced a filter, that checks for "Shutting down the JVM" string and then triggers a RESTART. The filter matches, but no restart occurs, instead the wrapper stops. 3) I could not find a parameter to control the ping frequency (not the timeout). The ping slows down the application, and for a server, that should be running for half a year a ping every 30 seconds or similar would be good enough. I attach the configuration file I use. It should be ok, though, at least I don't see any error messages during startup. Am I missing something? Regards Georg |