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

lutoff
23.41.2007 26bdd2bc89ec5366d100fe46e99fa6bb60301553
opends/src/server/org/opends/server/protocols/LDIFConnectionHandler.java
@@ -43,6 +43,7 @@
import org.opends.server.api.AlertGenerator;
import org.opends.server.api.ClientConnection;
import org.opends.server.api.ConnectionHandler;
import org.opends.server.core.DirectoryServer;
import org.opends.server.loggers.debug.DebugTracer;
import org.opends.server.protocols.internal.InternalClientConnection;
import org.opends.server.types.ConfigChangeResult;
@@ -133,7 +134,14 @@
  public void initializeConnectionHandler(LDIFConnectionHandlerCfg
                                               configuration)
  {
    ldifDirectory = new File(configuration.getLDIFDirectory());
    String ldifDirectoryPath = configuration.getLDIFDirectory();
    ldifDirectory = new File(ldifDirectoryPath);
    // If we have a relative path to the instance, get the absolute one.
    if ( ! ldifDirectory.isAbsolute() ) {
      ldifDirectory = new File(DirectoryServer.getServerRoot() + File.separator
          + ldifDirectoryPath);
    }
    if (ldifDirectory.exists())
    {