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
|
|
@@ -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); |
|
|
|