server.getConfig().logInit(logStream);
Resin resin = Resin.createWatchdog();
resin.preConfigureInit();
resin.setConfigFile(_args.getResinConf().getNativePath());
Thread thread = Thread.currentThread();
thread.setContextClassLoader(resin.getClassLoader());