Switched back to spring xml configuration for JMX support (unfinished).