Atomikos Forum

JmxTransactionService - deregister MBeans on Shutdown

Using the JMX Support of Atomikos is a nice feature to monitor transactions.
But when the WebApplication is going to shutdown, the referenced mbeans are not deregistered.

Made some patch on the service and specified the destroy-method="shutdown" on my spring bean to get those mbeans deregistered at shutdown time.

http://fachschaft.imn.htwk-leipzig.de/~tkrah/atomikos/JmxTransactionService.java.patch
Torsten Krah Send private email
Thursday, April 08, 2010
 
 
Cool, thanks! I have scheduled this for inclusion in the near future.
Guy Pardon Send private email
Thursday, April 08, 2010
 
 
Made some changes (forgot to set shutdown to true :-) ) and make the method synchronized to be thread safe.
Torsten Krah Send private email
Friday, April 09, 2010
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics