mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
29.30.2014 a06fd90c9b6bfb5f9130146373ba18e5769593b6
opendj3-server-dev/src/server/org/opends/server/protocols/http/HTTPConnectionHandler.java
@@ -726,7 +726,7 @@
        // error + alert about the horked config
        logger.traceException(e);
        logError(ERR_CONNHANDLER_CANNOT_ACCEPT_CONNECTION.get(friendlyName,
        logger.error(ERR_CONNHANDLER_CANNOT_ACCEPT_CONNECTION.get(friendlyName,
            String.valueOf(currentConfig.dn()), getExceptionMessage(e)));
        if (lastIterationFailed)
@@ -739,7 +739,7 @@
              ERR_CONNHANDLER_CONSECUTIVE_ACCEPT_FAILURES.get(friendlyName,
                  String.valueOf(currentConfig.dn()),
                  stackTraceToSingleLineString(e));
          logError(message);
          logger.error(message);
          DirectoryServer.sendAlertNotification(this,
              ALERT_TYPE_HTTP_CONNECTION_HANDLER_CONSECUTIVE_FAILURES, message);
@@ -764,7 +764,7 @@
    if (HTTPAccessLogger.getHTTPAccessLogPublishers().isEmpty())
    {
      logError(WARN_CONFIG_LOGGER_NO_ACTIVE_HTTP_ACCESS_LOGGERS.get());
      logger.warn(WARN_CONFIG_LOGGER_NO_ACTIVE_HTTP_ACCESS_LOGGERS.get());
    }
    this.httpServer = createHttpServer();
@@ -775,7 +775,7 @@
    logger.trace("Starting HTTP server...");
    this.httpServer.start();
    logger.trace("HTTP server started");
    logError(NOTE_CONNHANDLER_STARTED_LISTENING.get(handlerName));
    logger.info(NOTE_CONNHANDLER_STARTED_LISTENING.get(handlerName));
  }
  private HttpServer createHttpServer()
@@ -933,7 +933,7 @@
      this.httpServer.shutdownNow();
      cleanUpHttpServer();
      logger.trace("HTTP server stopped");
      logError(NOTE_CONNHANDLER_STOPPED_LISTENING.get(handlerName));
      logger.info(NOTE_CONNHANDLER_STOPPED_LISTENING.get(handlerName));
    }
  }