properties.put("java.naming.factory.initial",
"com.sun.jndi.rmi.registry.RegistryContextFactory");
properties.put("java.naming.provider.url", connectionURL);
JRMPConnector connector = new JRMPConnector();
//JRMPConnectorWrapper connector = new JRMPConnectorWrapper();
connector.connect("EM:rmiadaptor=MonitoringService", properties);
rmiConn = connector.getRemoteMBeanServer();
seeBeyondIQManager = new ObjectName("EM:" + factory.getEnvironmentName() + "="
+ factory.getLogicalhostName());
} catch (Exception e) {