log.info("Starting backing engine on " + port);
log.debug("This = " + this);
try {
Registry reg = LocateRegistry.getRegistry(port);
backingEngine = new StandardJMeterEngine(InetAddress.getLocalHost().getHostName());
reg.rebind("JMeterEngine", this); // $NON-NLS-1$
log.info("Bound to registry on port " + port);
} catch (Exception ex) {
log.error("rmiregistry needs to be running to start JMeter in server " + "mode\n\t" + ex.toString());
// Throw an Exception to ensure caller knows ...
throw new RemoteException("Cannot start. See server log file.");