protected static MBeanServer mbeanServer;
private static JMXServiceURL serviceURL;
protected JMXConnector connector;
@BeforeClass
public static void setupServer() throws IOException {
<BUG>mbeanServer = MBeanServerFactory.createMBeanServer(DEFAULT_DOMAIN);
remotingServer = new JMXRemotingServer(PORT, mbeanServer);
</BUG>
remotingServer.start();
serviceURL = new JMXServiceURL(URL);

protected static MBeanServer mbeanServer;
private static JMXServiceURL serviceURL;
protected JMXConnector connector;
@BeforeClass
public static void setupServer() throws IOException {
mbeanServer = MBeanServerFactory.createMBeanServer(DEFAULT_DOMAIN);
JMXRemotingConfig config = new JMXRemotingConfig();
config.mbeanServer = mbeanServer;
remotingServer = new JMXRemotingServer(config);
remotingServer.start();
serviceURL = new JMXServiceURL(URL);
