Atomikos Forum

All feedback will be investigated, but priority support, confidential support, and product priority updates are reserved for customers. Interested in becoming a customer? Subscribe here...

Only registered users can post (registration is free). Problems registering? Send an email to to get help.

JMX Instrumentation of Active Transactions

I am trying to setup mbeans for managing atomikos transactions via JMX.

JmxTransactionService always returns empty transactions list.But Transaction Manager shows active transactions count as 1.

configrations used.

public class JmxConfig {

    public JmxTransactionService jmxTransactionService() {
        JmxTransactionService jmxTransactionService = new JmxTransactionService();
        return jmxTransactionService;

    public JmxTransactionManagerBean jmxTransactionManagerBean(){
        JmxTransactionManagerBean jmxTransactionManagerBean = new JmxTransactionManagerBean();
        return jmxTransactionManagerBean;

    public MBeanServer mbeanServer() {
        MBeanServerFactoryBean mBeanServerFactoryBean = new MBeanServerFactoryBean();
        return mBeanServerFactoryBean.getObject();

    public MBeanExporter mbeanExporter() {
        MBeanExporter mbeanExporter = new MBeanExporter();
        Map<String, Object> beans = new HashMap<>();
        beans.put("atomikos:name=tx-service", jmxTransactionService());
        beans.put("atomikos:name=tx-manager", jmxTransactionService());
        return mbeanExporter;


atomikos:name=tx-manager - Currently active count property shows 1 as value.
But atomikos:name=tx-service - Transactions property return empty list.
Unable to see any active transactions within atomikos.

Appreciate any help.
Yogya Hewavidana Send private email
vrijdag 10 februari 2017
Powered by FogBugz