[infinispan-issues] [JBoss JIRA] (ISPN-11538) Always launch the server process in the background

Ryan Emerson (Jira) issues at jboss.org
Thu Mar 26 08:05:15 EDT 2020


     [ https://issues.redhat.com/browse/ISPN-11538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson updated ISPN-11538:
--------------------------------
    Description: 
Currently {{server.sh}} defaults to executing the java process in the foreground, however we also provide the {{LAUNCH_ISPN_IN_BACKGROUND}} env variable which executes the Java process in the background and forwards any OS signals to it.

As OS signals are correctly forwarded to the background process by the server.sh script, we should only execute the server in this way. This removes the need for setting the LAUNCH_ISPN_IN_BACKGROUND in the image and tests, whilst removing one other knob from the configuration.

  was:
Currently {{server.sh}} defaults to executing the java process in the foreground, however we also provide the {{LAUNCH_ISPN_IN_BACKGROUND}} env variable which executes the Java process in the background and forwards any OS signals to it.

As OS signals are correctly forwarded to the background process by the server.sh script, we should only execute the server in this way. This removes the need for setting the LAUNCH_ISPN_IN_BACKGROUND in the image and tests, whilst providing one other knob from the configuration.



> Always launch the server process in the background
> --------------------------------------------------
>
>                 Key: ISPN-11538
>                 URL: https://issues.redhat.com/browse/ISPN-11538
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Server
>    Affects Versions: 11.0.0.Dev03
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>            Priority: Major
>             Fix For: 11.0.0.Dev04
>
>
> Currently {{server.sh}} defaults to executing the java process in the foreground, however we also provide the {{LAUNCH_ISPN_IN_BACKGROUND}} env variable which executes the Java process in the background and forwards any OS signals to it.
> As OS signals are correctly forwarded to the background process by the server.sh script, we should only execute the server in this way. This removes the need for setting the LAUNCH_ISPN_IN_BACKGROUND in the image and tests, whilst removing one other knob from the configuration.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list