-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
On 2/7/12 5:20 PM, Andrew Kujtan wrote:
> Runtime.getRuntime().addShutdownHook( new Thread(new Runnable(){
> @Override public void run() { System.out.println("HARI-KIRI
> SUCCESSFUL!"); } }, "shutdownHook"));
Note that if this code is runnin
> -Original Message-
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
> Sent: Tuesday, February 07, 2012 7:31 PM
> To: Tomcat Users List
> Subject: Re: Shutdown Hooks not firing when tomcat is shutdown from
> within a webapp
>
> 2012/2/7 Andrew Kujtan :
On 07/02/2012 22:20, Andrew Kujtan wrote:
>> -Original Message-
>> From: Chema [mailto:demablo...@gmail.com]
>> Sent: Tuesday, February 07, 2012 5:12 PM
>> To: Tomcat Users List
>> Subject: Re: Shutdown Hooks not firing when tomcat is shutdown from
>&g
2012/2/7 Andrew Kujtan :
> OS: Windows 7 32bit
>
> Ver.: Apache Tomcat/7.0.25
>
> Jvm: 1.6.0_14-b08
>
>
>
> I am attaching a shutdown hook from within my webapp to log some info
> after tomcat shuts down,
>
>
> > Runtime.getRuntime().addShutdownHook(mythread, name +
> ":shutdownHook"));
>
1. W
> -Original Message-
> From: Chema [mailto:demablo...@gmail.com]
> Sent: Tuesday, February 07, 2012 5:12 PM
> To: Tomcat Users List
> Subject: Re: Shutdown Hooks not firing when tomcat is shutdown from
> within a webapp
>
> >> Can I see ApplicationShutdownHo
>> Can I see ApplicationShutdownHooks source code ?
>
> That is located in java.lang, you can see the source online...
>
Sorry, I meant about *your* app's shutdown hook.
>> What 's com.evertz.registry.ServerRegistryListener ?
Right
>
> This is just the listener that triggers the shutdown call.
> -Original Message-
> From: Chema [mailto:demablo...@gmail.com]
> Sent: Tuesday, February 07, 2012 4:51 PM
> To: Tomcat Users List
> Subject: Re: Shutdown Hooks not firing when tomcat is shutdown from
> within a webapp
>
> > "Asyn
> "Asynchronous Notification 'interface
> com.evertz.registry.ServerRegistryListener: masterChanged'" daemon prio=6
> tid=0x28c77000 nid=0x16d8 in Object.wait() [0x2899f000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Tuesday, February 07, 2012 3:09 PM
> To: Tomcat Users List
> Subject: Re: Shutdown Hooks not firing when tomcat is shutdown from
> within a webapp
>
> -BEGIN PGP SI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
On 2/7/12 2:40 PM, Andrew Kujtan wrote:
> When I call System.exit() tomcat doesn't actually shutdown
That's weird.
> it looks like it just is deadlocking or something as I am getting
> a timeout on the call that runs it.
What does a thread
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Tuesday, February 07, 2012 1:39 PM
> To: Tomcat Users List
> Subject: RE: Shutdown Hooks not firing when tomcat is shutdown from
> within a webapp
>
> > From:
> From: Andrew Kujtan [mailto:akuj...@evertz.com]
> Subject: Shutdown Hooks not firing when tomcat is shutdown from within a
> webapp
> OS: Windows 7 32bit
> Ver.: Apache Tomcat/7.0.25
> Jvm: 1.6.0_14-b08
Thanks for that.
> I am attaching a shutdown hook from within my
OS: Windows 7 32bit
Ver.: Apache Tomcat/7.0.25
Jvm: 1.6.0_14-b08
I am attaching a shutdown hook from within my webapp to log some info
after tomcat shuts down,
> Runtime.getRuntime().addShutdownHook(mythread, name +
":shutdownHook"));
When I run shutdown.bat from the bin folder t
13 matches
Mail list logo