-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
The jboss.qualified.host.name is the propery name that holds the fully-qualified name of the host machine where WildFly is running.
If it is not explicitly set, its value is calculated as follow:
- it gets the runtime value of "HOSTNAME" or "COMPUTERNAME" environment variables, or, if neither environment variable is present, to the value of InetAddress.getLocalHost().getHostName().
However InetAddress.getLocalHost().getHostName() does not perform a DNS lookup to get the FQDN of the current host, so it won't return the expected value.
This issue is a consequence of https://bugs.openjdk.org/browse/JDK-8201369 fixed since JDK 11 which was not properly backported to JDK 1.8 and later fixed by https://bugs.openjdk.org/browse/JDK-8339414
The consequences are that in the case this value is calculated using InetAddress.getLocalHost().getHostName(), the server would not calculated it as expected since JDK11 and could produce different results if you were using different versions of JDK 1.8.
- clones
-
WFCORE-7343 jboss.qualified.host.name may not be properly calculated
-
- Resolved
-
-
WFCORE-7370 StandaloneRootResourceTestCase also needs to call getCanonicalHostName
-
- Resolved
-
- is cloned by
-
JBEAP-30901 [GSS](8.0.z) jboss.qualified.host.name may not be properly calculated
-
- Pull Request Sent
-
- is incorporated by
-
JBEAP-31020 (8.1.z) Upgrade WildFly Core from 27.1.1.Final-redhat-00010 to 27.1.2.Final-redhat-00001
-
- New
-