|
From: Leif M. <lei...@ta...> - 2012-09-30 13:04:33
|
Ronen, Please set the following property. It will request that the Wrapper does a thread dump when timing out before shutting down. http://wrapper.tanukisoftware.com/doc/english/prop-request-thread-dump-on-failed-jvm-exit.html wrapper.request_thread_dump_on_failed_jvm_exit=TRUE The fact that the JVM is failing to exit means that the one of the shutdown hook threads is still running and failing to complete in a timely manner. The thread dump will hopefully show you exactly what state your threads are in on shutdown. Please let me know how this works for you. Cheers, Leif On Sun, Sep 30, 2012 at 9:19 PM, Ronen Itzhaki <rit...@al...> wrote: > Hi,**** > > ** ** > > I'm using community license for WrapperSimpleApp.**** > > I am trying to run my services with console first (as you've recommended > in order to make sure everything works properly). When I press the CTRL+C > my shutdown hook isn't called, and I get timeout message in the wrapper's > console (nothing else significant in the log):**** > > ** ** > > wrapper | CTRL-C trapped. Shutting down.**** > > wrapper | Shutdown failed: Timed out waiting for signal from JVM.**** > > wrapper | JVM did not exit on request, terminated**** > > wrapper | <-- Wrapper Stopped**** > > ** ** > > Note that when I run my app from a command line or simple bat file, the > shutdown hook does get executed when CTRL+C is pressed:**** > > ** ** > > ** ** > > Details:**** > > OS: winXP/win7**** > > Wrapper: wrapper-windows-x86-32-3.5.15.zip**** > > Conf file is attached**** > > ** ** > > Thanks!**** > > ** ** > > Ronen.**** > > > |