// Set it now, so we are sure that it will be the correct life cycle
builder.setOptionValue(ChromatticBuilder.SESSION_LIFECYCLE_CLASSNAME, PortalSessionLifeCycle.class.getName());
//
log.debug("Building Chromattic " + domainName);
realChromattic = builder.build();
chromattic = new ChromatticImpl(this);
} catch (Exception e) {
log.error("Could not start Chromattic " + domainName, e);
} finally {
PortalSessionLifeCycle.bootContext.set(null);