-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
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
-
JBEAP-30755 [GSS](8.1.z) jboss.qualified.host.name may not be properly calculated
-
- Pull Request Sent
-
- is cloned by
-
JBEAP-30754 [GSS](7.4.z) jboss.qualified.host.name may not be properly calculated
-
- Pull Request Sent
-
- is incorporated by
-
JBEAP-30584 (8.0.z) Upgrade WildFly Core from 21.0.17.Final-redhat-00001 to 21.0.18.Final-redhat-00001
-
- Open
-