ActLogHandler handler = new ActLogHandler();
ReliableLog log = new ReliableLog(logName, handler);
log.recover();
Activation state = handler.getState();
if (state == null) {
log.snapshot();
state = handler.getState();
}
state.init(log, login, config, configOptions, starter);
if (starter == null) {
// prevent exit