[ 
https://issues.apache.org/jira/browse/OFBIZ-11136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879667#comment-16879667
 ] 

Mathieu Lirzin commented on OFBIZ-11136:
----------------------------------------

I will wait a couple of days before committing  
[^OFBIZ-11136_Move-AdminServer-inside-a-container.patch]  to let people provide 
some feedback.

> Move ‘AdminServer’ inside a container.
> --------------------------------------
>
>                 Key: OFBIZ-11136
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11136
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Minor
>         Attachments: OFBIZ-11136_Move-AdminServer-inside-a-container.patch
>
>
> ‘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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to