Skip to content
Permalink
Browse files

Merge pull request #3596 from gaol/WFCORE-4129_ignore_symbolic

[WFCORE-4129] WFLYSRV0266: Server home is set to... info msg in domain for RPM installation
  • Loading branch information
bstansberry committed Apr 14, 2019
2 parents 81536e8 + ae095a0 commit f5e8e3830efff4178971b74da9bcf0c0770a1610
@@ -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 f5e8e38

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