WebAppContext alfrescoServerApi = new WebAppContext(alfrescoServerWarPath,"/alfresco");
alfrescoServerApi.setParentLoaderPriority(false);
HashLoginService dummyLoginService = new HashLoginService("TEST-SECURITY-REALM");
alfrescoServerApi.getSecurityHandler().setLoginService(dummyLoginService);
contexts.addHandler(alfrescoServerApi);
Class h2DataSource = Thread.currentThread().getContextClassLoader().loadClass("org.h2.jdbcx.JdbcDataSource");
Object o = h2DataSource.newInstance();
String jdbcUrl = "jdbc:h2:.alf_data_jetty/h2_data/alf_jetty";
String jdbcUsername = "alfresco";