From 4375b3d7800f457ab28e2752d18ee1fefdaa13e4 Mon Sep 17 00:00:00 2001 From: vharseko Date: Fri, 22 Feb 2019 17:11:40 +0300 Subject: [PATCH] try FIX Error writing host name file (reallocation data) (#52) * try FIX Error writing host name file (reallocation data) https://github.com/OpenIdentityPlatform/OpenDJ/issues/50#issuecomment-465451403 * update sm --- forgerock-parent | 2 +- .../main/java/org/opends/quicksetup/installer/Installer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forgerock-parent b/forgerock-parent index 030730a670..fe7a46976a 160000 --- a/forgerock-parent +++ b/forgerock-parent @@ -1 +1 @@ -Subproject commit 030730a670772b6fe60d4aed57af12060d209bda +Subproject commit fe7a46976a3050c7a442366120333fb4350bfec4 diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java index c179910f47..b2da78be80 100644 --- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java +++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java @@ -2325,7 +2325,7 @@ private void writeHostName() */ private String getHostNameFile() { - return Utils.getPath(getInstallation().getRootDirectory().getAbsolutePath(), SetupUtils.HOST_NAME_FILE); + return Utils.getPath(getInstallation().getInstanceDirectory().getAbsolutePath(),SetupUtils.HOST_NAME_FILE); } /**