Skip to content
Permalink
Browse files

[WFCORE-4129] WFLYSRV0266: Server home is set to... info msg in domai…

…n for RPM installation
  • Loading branch information
gaol authored and bstansberry committed Feb 21, 2019
1 parent a651b96 commit 2dd5399014d5bee82de3de3160d3910b4a632e0d
@@ -438,15 +438,6 @@ public ServerEnvironment(final String hostControllerName, final Properties props
throw ServerLogger.ROOT_LOGGER.couldNotCreateServerBaseDirectory(tmp);
}
}
try {
Path resolved = tmp.toPath().toRealPath();
if (!tmp.toPath().equals(resolved)){ //WFCORE-2652
ServerLogger.ROOT_LOGGER.serverHomeMismatch(tmp.toPath(), resolved);
tmp = resolved.toFile();
}
} catch (IOException e) {
//
}
serverBaseDir = tmp;

tmp = getFileFromProperty(SERVER_CONFIG_DIR, props);
@@ -1298,9 +1298,9 @@
@Message(id = 265, value = "Invalid value '%s' for system property '%s' -- value must be a non-negative integer")
void invalidPoolCoreSize(String val, String configSysProp);

@LogMessage(level = WARN)
@Message(id = 266, value = "Server home is set to '%s', but server real home is '%s' - unpredictable results may occur.")
void serverHomeMismatch(Path passed, Path real);
// @LogMessage(level = WARN)
// @Message(id = 266, value = "Server home is set to '%s', but server real home is '%s' - unpredictable results may occur.")
// void serverHomeMismatch(Path passed, Path real);

@Message(id = 267, value = "Cannot mount resource root '%s', is it really an archive?")
XMLStreamException archiveMountFailed(String path, @Cause ZipException cause);

0 comments on commit 2dd5399

Please sign in to comment.
You can’t perform that action at this time.