Anissa, what interface do you use to the backend for getting the restart
The Image Package System has the capability to indicate that a restart is
required when an action is updated through the use of the reboot-needed actuator
on an action. However, there are a few problems with this:
a) GlassFish packages do not tag JAR files with reboot-needed
b) One interpretation of reboot-needed is that this is for the operating system,
i.e., it means that an OS reboot is needed. Therefore, it doesn't apply to
GlassFish. To deal with this, the concept of user-level actuators has been
c) User-level actuators are not implemented in the version of IPS being used
d) The Java API for IPS doesn't support accessing the actuator information on
actions even if it was there.
Then intent with UC 2.4 was that user-level actuators were going to be
implemented to do this. But since UC 2.4 is not being implemented, this
capability is missing.
So the bottom line is that the packaging system at this time does not support
the accurate reporting of whether a server restarted is needed.
As Anissa stated, any reporting of a restart needed by the GUI is message that
is output for every package installation. Maybe the message could be rewritten
to be more vague, such as saying that a restart may be needed to use the
functionality provided by the package. This would also eliminate the need for
the restart required indicator to be turned on, because a restart is not really
required; it is only required if one wants to use the functionality that was
just installed. Since the only package operation that is available from the
console is to add a package, a restart really is never required after this. It
is only needed if one wants to use the functionality.
Reassigning back to admin_gui because eventually something there has to be
fixed. If there is some new functionality related to the backend that is needed
for this, please file a new issue. However, at this point, I would suggest just
changing the message slightly to remove the implication that a restart is