Fix 3275 Start-up messages unaware of disabled replicated suffix's backend
| | |
| | | SEVERE_ERR_SEARCHING_GENERATION_ID_73=An unexpected error %s occurred when \ |
| | | searching for generation id for domain : %s |
| | | SEVERE_ERR_SEARCHING_DOMAIN_BACKEND_74=An unexpected error occurred when \ |
| | | searching for the backend of the domain : %s |
| | | looking for the replicated backend : %s. It may be not configured or disabled |
| | | SEVERE_ERR_LOADING_GENERATION_ID_75=An unexpected error occurred when \ |
| | | searching in %s for the generation ID : %s |
| | | SEVERE_ERR_UPDATING_GENERATION_ID_76=An unexpected error %s occurred \ |
| | |
| | | Message message = ERR_DSCORE_CANNOT_START.get(ie.getMessage()); |
| | | shutDown(directoryServer.getClass().getName(), message); |
| | | } |
| | | catch (ConfigException ce) |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | TRACER.debugCaught(DebugLogLevel.ERROR, ce); |
| | | } |
| | | |
| | | Message message = ERR_DSCORE_CANNOT_START.get(ce.getMessage() |
| | | + " " + ce.getCause().getLocalizedMessage()); |
| | | shutDown(directoryServer.getClass().getName(), message); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | Message message = ERR_DSCORE_CANNOT_START.get( |
| | |
| | | provider.initializeSynchronizationProvider(configuration); |
| | | } catch (Exception e) |
| | | { |
| | | try |
| | | { |
| | | provider.finalizeSynchronizationProvider(); |
| | | } |
| | | catch(Exception ce) |
| | | {} |
| | | |
| | | // Handle the exception: put a message in the unacceptable reasons. |
| | | Message message = ERR_CONFIG_SYNCH_ERROR_INITIALIZING_PROVIDER.get( |
| | | String.valueOf(className), String.valueOf(configuration.dn())); |
| | |
| | | // Close the socket |
| | | try |
| | | { |
| | | rmiSsf.close(); |
| | | if (rmiSsf != null) |
| | | rmiSsf.close(); |
| | | } |
| | | catch (IOException e) |
| | | { |
| | |
| | | */ |
| | | public void stop() |
| | | { |
| | | stopHeartBeat(); |
| | | replicationServer = "stopped"; |
| | | shutdown = true; |
| | | connected = false; |