// create jcr repository
repository = JcrUtils.createRepository(properties.getJcrRepositoryUrl());
// create session factory that will be used to feed brix jcr sessions
sessionFactory = new ThreadLocalSessionFactory(repository, properties
.buildSimpleCredentials());
try {
// create workspace manager brix will use to access workspace-related functionality
workspaceManager = JcrUtils.createWorkspaceManager(properties.getWorkspaceManagerUrl(),