tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chema <demablo...@gmail.com>
Subject Re: Shutdown Hooks not firing when tomcat is shutdown from within a webapp
Date Tue, 07 Feb 2012 22:12:12 GMT
>> 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.
> That the trace shows it that I call System.exit(0), which then runs the shutdown hooks,
but then gets stuck running the CatalinaShutdownHook. It looks like all CatalinaShutdownHook
does is call catalina.stop, I don't really know how to figure out what it is waiting on though.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message