-
Enhancement
-
Resolution: Done
-
Major
-
None
image version: jboss-eap-7/eap74-openjdk8-openshift-rhel7:7.4.10-3
If we set any value to the environment variable CLI_GRACEFUL_SHUTDOWN, the following message is shown at EAP container startup.
INFO Using CLI Graceful Shutdown instead of TERM signal
Before JBoss EAP 7.1, this message correctly reflects what will happen by setting CLI_GRACEFUL_SHUTDOWN, such as "Setting JBoss CLI by myself is required because shutdown will not start when TERM signal is sent from container runtime."
However, CLOUD-1864 improved graceful shutdown with JBoss CLI by default. If any value is set to CLI_GRACEFUL_SHUTDOWN, graceful shutdown as default mode will not work. It is difficult for the user to read from the message that graceful shutdown has been disabled.
For backward compatibility, it would not be appropriate to change the environment variable CLI_GRACEFUL_SHUTDOWN. It would be helpful if the message could be improved to show what happened as a result of the configuration and that graceful shutdown has been disabled.
- links to