-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved: Move ‘AdminServer’ inside a container
(OFBIZ-11136) ‘AdminServer’ provides a portable way to manage life-cycle of the OFBiz process remotely by allowing administrator to check its running status or shutting it down. Previously the ‘AdminServer’ class was a special thread opening a socket and launched at startup. However since this class is about managing some run-time resources with a life-cycle, it matches perfectly the container abstraction. A benefit of making ‘AdminServer’ a container is that the startup process is now simpler and more uniform. Administrators can now prevent remote shutdown of OFBiz for security reasons by removing the container declaration. Additionally They can delegate the process management job to the init process (PID 0) of the hosting system like Systemd [1] by replacing this container with another one. [1] https://www.freedesktop.org/software/systemd/man/systemd-notify.html git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1863024 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Showing
5 changed files
with
76 additions
and
69 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
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
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
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
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