On 19 August 2013 10:17, Mladen Turk <mt...@apache.org> wrote: > On 08/19/2013 12:53 AM, Andrew Miller wrote: >> >> Seems like the JVM is >> crashing, which leads Windows > > > If the JVM crashes you should have jvm's generated crash log file. > Doubt that is the reason. > > What you have in log file is > > ( javajni.c:471 ) [ 6948] Exit hook with exit code 1 > > > This means that your java code exit hook has returned non zero value. > Check your java code for return values from main(). In case non zero > is returned as exit code service will never be reported as stopped.
But why is the exit hook apparently not invoked? The following 4 lines are missing from the failing system (timestamps omitted to reduce likelihood of line-wrap): [debug] ( prunsrv.c:910 ) [ 7452] Stop exit hook called ... [debug] ( prunsrv.c:844 ) [ 7452] reportServiceStatusE: 1, 0, 0, 0 [debug] ( prunsrv.c:919 ) [ 7452] Start exit hook called ... [debug] ( prunsrv.c:920 ) [ 7452] VM exit code: 1 > > Regards > -- > ^TM > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org