Restart Java Stack From Abap Stack
Restart Java Stack From Abap Stack
---------------------------------------------------------------------------------------------
Please note in the above method, we can only restart or bring down local java stack of an
instance. If you would like to restart entire java cluster of an sap system (ie. Global), in SMICM
transaction, navigate to
Administration -> AS Java -> Cluster (Global) -> Send soft shutdown -> with restart
Also there are 2 methods in restart or bringing down the java stack.
They are
1)Send Soft shutdown : In this method, the abap dispatcher sends a SIGQUIT message to the
jstart process. The AS java will be terminated with a soft shutdown. It means, the abap
dispatcher will not actively close the connection. It will wait and finish the processing of all the
running requests and then shuts down.
2)Send Hard shutdown : In this method, the abap dispatcher sends a SIGINT message to the
jstart process. The AS java will be terminated with a hard shutdown. It means, java processes
will get some time to close. If that time is not sufficient, they are closed with a hard shut down.
The main difference between soft shut down and hard shut down is the hard shut down will
happen quickly within few minutes where as the soft shut down will happen only after
completing the processing of all running requests.
Please note that this option should be used only in emergency as processes shutdown in this way
will no longer be able to reach stable state.