solve JMX connections for local tests