Thread.sleep(5000);
    protected void setUp() throws Exception {        super.setUp();        container.setCreateMBeanServer(true);        container.setMonitorDeploymentDirectory(false);        container.setMonitorInstallationDirectory(false);        container.init();        container.start();                // Need to sleep as the jmx remote connector         // is started in another thread        Thread.sleep(5000);                remoteConnection = new JbiTask(){            protected void doExecute(AdminCommandsServiceMBean acs) throws Exception {            }                    };        remoteConnection.init();    }