String repositoryName = "jackrabbit.repository";
Properties jndiProperties = new Properties();
jndiProperties.put("java.naming.provider.url", "http://sf.net/projects/archimede#1");
jndiProperties.put("java.naming.factory.initial", "org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory");
startupUtil = new StartupJcrUtil(REPOSITORY_HOME, "temp/repository.xml", repositoryName, jndiProperties);
startupUtil.init();
}