DataSource pDS,
boolean pStart)
throws ServiceException {
Configuration c = pRepository.getServiceConfiguration();
Nucleus n = pRepository.getNucleus();
NucleusNameResolver r = new NucleusNameResolver(
n, n, pRepository.getNameContext(), true
);
GSARepository newRepository = null;
if (pRepository instanceof VersionRepository) {
newRepository = (GSARepository) c.createNewInstance(((VersionRepository) pRepository).getWrappedRepository());