container.start(); synchronized (this) { started = true; starting = false;
try { createAndConfigureContainer();  container.start(); setState(STATE_RUNNING); } catch (SmartFrogException e) { caughtException = e; setState(STATE_FAILED); } finally {  thread = null;
    public void run() {        //now start the container        container.start();        synchronized (this) {            started = true;            starting = false;        }        //end of life        thread = null;    }