I have been using the Java Service wrapper in a special application for quite some time, and it works fine. Starting from updating our application to the new version in the last few days, the JVM started to hang, and then the wrapper prints it in the log: the JVM appears to hang: the signal timeout from the JVM.
Then it automatically shuts down the JVM and starts the application again. This happens after about 10 hours of operation, which makes debugging difficult.
Of course, I will review the changes we made, but there were no major changes that, I suspect, would not have caused this kind of problem.
Where can I try to figure out what is happening? Debug messages from the application do not indicate anything interesting. If the JVM just crashes, it usually creates a dump that can help debug it, but it hangs, so it does not create a dump. If I force it to not restart the service automatically, is there anything I can do to get useful information from the JVM before restarting it?
It seems to me that the JVM should not depend on typical programming errors. What have you encountered before, can this lead to a JVM freezing?
Sarel botha
source share