You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by Manuel Linsmayer <ma...@linsmayer.com> on 2008/04/16 16:19:48 UTC
shutdown() callback
Hello,
I've overwritten the prepareShutdown() and shutdown() methods in my
custom capability java class, but they're never called upon Tomcat
shutdown. Could this be a bug/problem, or is this normal behaviour?
initialize() and initializeCompleted() callbacks (upon Tomcat startup)
work fine.
I'm using Muse 2.2.0 on Tomcat 5.5 and Java 1.5.0_13.
Thank you,
Manuel
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
RE: shutdown() callback
Posted by Ch...@swisscom.com.
Hiya,
its not exactly a bug, more an oversite I think.
In my own isolation layer I have a full lifecycle, including restart
capability.
You are really much better off not calling shutdown in the current muse
code. Calling shutdown removes persistent subscriptions (amongst other
things) and stops you from being able to start again. Its best just to
leave it running.
cheers,
Chris
PS (its not that you are running in tomcat its that the isolation layer
(axis or simple soap) don't call shutdown).
-----Original Message-----
From: Manuel Linsmayer [mailto:manuel@linsmayer.com]
Sent: Wednesday, April 16, 2008 4:20 PM
To: muse-user@ws.apache.org
Subject: shutdown() callback
Hello,
I've overwritten the prepareShutdown() and shutdown() methods in my
custom capability java class, but they're never called upon Tomcat
shutdown. Could this be a bug/problem, or is this normal behaviour?
initialize() and initializeCompleted() callbacks (upon Tomcat startup)
work fine.
I'm using Muse 2.2.0 on Tomcat 5.5 and Java 1.5.0_13.
Thank you,
Manuel
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org