shutdown() callback

View: New views
2 Messages — Rating Filter:   Alert me  

shutdown() callback

by Manuel Linsmayer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: muse-user-help@...


RE: shutdown() callback

by Chris.Twiner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...]
Sent: Wednesday, April 16, 2008 4:20 PM
To: muse-user@...
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@...
For additional commands, e-mail: muse-user-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...