This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1151441] JON server was unexpectedly stopped
Only resolve the identity of the running server (i.e. the SERVER_NAME) one time and cache it as a static for ServerManagerBean. This is more efficient as the server name can not change at runtime, and actually should not change for a defined server, ever, in general. Moreover, for server where rhq.server.high-availability.name is not set, it prevents repeated calls to InetAddress.getLocalhost(), which can fail if there is a temporary DNS issue, and the localhost can not be resolved.
- Loading branch information
Showing
1 changed file
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters