registerMBean(new StandardMBean(deploy, DeploymentServiceMBean.class), createMBeanName(null, "service", "deploy"));
AutoInstallService autoinstall = new AutoInstallService();
registerMBean(new StandardMBean(autoinstall, AutoInstallServiceMBean.class), createMBeanName(null, "service", "autoinstall"));
// TODO: debug only
autoinstall.setPollingFrequency(1000);
autoinstall.start();
getRegistry().start();
Directories.deleteMarkedDirectories(getWorkingDir());
MuleManager.getInstance().start();
} catch (Exception e) {
if (e instanceof JBIException) {