// Not sure how well this actually works, cannot see the change
// .being made into the DefaultDS.xml file
Resource platform = discoverPlatform();
Resource defaultDs = findService("DefaultDS", SERVER_NAME, platform);
PluginContainer pc = PluginContainer.getInstance();
ConfigurationAgentService configService = pc.getConfigurationAgentService();
Configuration configuration = configService.loadResourceConfiguration(defaultDs.getId());
// Sanity check, to make sure jndi name is as we expect it
assert configuration != null : "Configuration for Default DS was null";