String jbpmTestCfgResource = System.getProperty("jbpm.test.cfg.resource");
if (jbpmTestCfgResource!=null) {
configuration.setResource(jbpmTestCfgResource);
}
processEngine = configuration.buildProcessEngine();
log.debug("using ProcessEngine "+System.identityHashCode(processEngine));
repositoryService = processEngine.get(RepositoryService.class);
executionService = processEngine.getExecutionService();