Remove explicit references to some classes in the org.opends.server package which broke the QuickSetup (the user had to wait till OpenDS.jar was downloaded). Also modify the code to have a localized message when the server is failed to start in the connection handlers mode.
| | |
| | | error-importing-ldif=Error Importing LDIF File. |
| | | error-import-automatically-generated=Error Importing Automatically- Generated \ |
| | | Data when invoked with arguments: {0}". |
| | | error-starting-server-with-no-connection-handlers=Error Starting Server with \ |
| | | no connection handlers: {0}. |
| | | error-starting-server=Error Starting Directory Server. |
| | | error-starting-server-in-windows=Could not connect to Server after Start. \ |
| | | If you have a firewall configured check that it allows connections to port {0}. |
| | |
| | | LOG.log(Level.INFO, msg, e); |
| | | throw new ApplicationException(ApplicationException.Type.IMPORT_ERROR, |
| | | msg, e); |
| | | } catch (org.opends.server.types.InitializationException e) { |
| | | String msg = "Failed to start server due to initialization error:" + |
| | | e.getLocalizedMessage(); |
| | | LOG.log(Level.INFO, msg, e); |
| | | } catch (Throwable t) { |
| | | String msg = getMsg("error-starting-server-with-no-connection-handlers", |
| | | (t.getMessage() == null) ? t.toString() : t.getMessage()); |
| | | LOG.log(Level.INFO, msg, t); |
| | | throw new ApplicationException(ApplicationException.Type.IMPORT_ERROR, |
| | | msg, e); |
| | | } catch (org.opends.server.config.ConfigException e) { |
| | | String msg = "Failed to start server due to configuration error: " + |
| | | e.getLocalizedMessage(); |
| | | LOG.log(Level.INFO, msg, e); |
| | | throw new ApplicationException(ApplicationException.Type.IMPORT_ERROR, |
| | | msg, e); |
| | | msg, t); |
| | | } |
| | | } |
| | | |