server = new HttpServer(); jettyHelper.cacheJettyServer(server); jettyhome = sfResolve(jettyhomeRef, jettyhome, true); jettyHelper.cacheJettyHome(jettyhome); enableLogging=sfResolve(ATTR_ENABLE_LOGGING,enableLogging,true);
if (enableLogging) { logDir = FileSystem.lookupAbsolutePath(this, JettyIntf.ATTR_LOGDIR, jettyhome, null, true, null); logPattern = sfResolve(JettyIntf.ATTR_LOGPATTERN, "", false); configureLogging(); }
  public void sfDeploy() throws SmartFrogException, RemoteException {    try {        server = new HttpServer();        jettyHelper.cacheJettyServer(server);        jettyhome = sfResolve(jettyhomeRef, jettyhome, true);        jettyHelper.cacheJettyHome(jettyhome);        enableLogging=sfResolve(ATTR_ENABLE_LOGGING,enableLogging,true);        if(enableLogging) {            logDir=FileSystem.lookupAbsolutePath(this,JettyIntf.ATTR_LOGDIR,jettyhome,null,true,null);            logPattern=sfResolve(JettyIntf.ATTR_LOGPATTERN,"",false);            configureLogging();        }        super.sfDeploy();    } catch (Exception ex){       throw SmartFrogDeploymentException.forward(ex);    }  }