/** * This function should be the first thing called by the Admin Console to initialize the servlet. * If SQL config data migration is required, it will be done and periodic status updates will be * written to the output stream. * * @param progress Used to output SQL config data migration status updates. * @throws RemoteException Thrown when the DataConfig could not be initialized. */ public static synchronized void initializeAdminService(ProgressManager progress) throws RemoteException { ConnectionConfig cc = getConnectionConfig(); if (cc.migrationPending()) { _dataConfig = null; // set to null first in case next line fails _dataConfig = cc.initializeNewDataConfig(progress); } }