// Synchronise with DAS, which will put domain.xml in
// config directory
long startSync=System.currentTimeMillis();
try {
try {
SynchronizationDriver sd = SynchronizationDriverFactory.
getSynchronizationDriver(
System.getProperty(INSTANCE_ROOT_PROPERTY),
url, null);
sd.synchronize();
} catch(final DASCommunicationException de) {
new CommunicationExceptionLogUtils(getLogger(),
Level.SEVERE, dasEnv).handleDASCommunicationException(de);
} catch (NonMatchingDASContactedException ex) {
stopAgentWithPause();