_ode._mexContext = new MessageExchangeContextImpl(_ode);
if (_ode._config.getThreadPoolMaxSize() == 0)
_ode._executorService = Executors.newCachedThreadPool();
else
_ode._executorService = Executors.newFixedThreadPool(_ode._config.getThreadPoolMaxSize());
SimpleScheduler sched =new SimpleScheduler(new GUID().toString(), new JdbcDelegate(_ode._dataSource), _ode._config.getProperties());
sched.setJobProcessor(_ode._server);
sched.setTransactionManager((TransactionManager) _ode.getContext().getTransactionManager());
_ode._scheduler = sched;
_ode._store = new ProcessStoreImpl(_ode._eprContext, _ode._dataSource,
_ode._config.getDAOConnectionFactory(), _ode._config, false);
_ode._store.loadAll();