system.setComponent(ApplicationServer.class, appServer);
//OWB support. The classloader has to be able to load all OWB components including the ones supplied by OpenEjb.
CdiBuilder.initializeOWB(getClass().getClassLoader());
OpenEjbVersion versionInfo = OpenEjbVersion.get();
if (system.getOptions().get("openejb.nobanner", true)) {
versionInfo.print(System.out);
}
Logger logger2 = Logger.getInstance(LogCategory.OPENEJB, "org.apache.openejb.util.resources");
logger2.info("startup.banner", versionInfo.getUrl(), new Date(), versionInfo.getCopyright(),
versionInfo.getVersion(), versionInfo.getDate(), versionInfo.getTime());
logger.info("openejb.home = " + SystemInstance.get().getHome().getDirectory().getAbsolutePath());
logger.info("openejb.base = " + SystemInstance.get().getBase().getDirectory().getAbsolutePath());
String className = system.getOptions().get("openejb.assembler", "org.apache.openejb.assembler.classic.Assembler");