env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,
"weblogic.management.remote");
JMXConnector jmxc = JMXConnectorFactory.connect(url, env);
return new Weblogic9ServerConnection(jmxc, jmxc.getMBeanServerConnection());
} catch (Throwable e) {
throw new ConnectionFailedException(e);
}
}