} catch (MalformedURLException e) {
URL.setURLStreamHandlerFactory(new ArtifactURLStreamHandlerFactory());
}
try {
Configuration config = EmptyConfiguration.INSTANCE;
instantiator = new ServiceBeanContainerImpl(config);
ComputeResource cr = new ComputeResource();
String provisionRoot = Environment.setupProvisionRoot(true, config);
cr.setPersistentProvisioningRoot(provisionRoot);
cr.boot();
instantiator.setComputeResource(cr);