SCF 4.3.3P8 hangs on the second plug-in or external command call
Applies to
Snap Creator Framework (SCF) 4.3.3P8
Issue
When using a database plug-in or running pre- or post-scripts, Snap Cretor 4.3.3P8 will fail to return from the second use of an external command or database plug-in call (usually in unquiesce):
########## Application Unquiesce ##########
[2023-07-11 13:13:22,603] INFO: Application Unquiesce for plugin: db2
(last line in the log at the time)
This also blocks any new incoming connections, causing the following errors to appear:
[Wed Jul 19 07:57:23 2023] ERROR: SCF-00059: [Snap Creator Framework 4.3.3P8] dump for plugin [db2] failed with exit code [com.ctc.wstx.exc.WstxIOException: A remote host refused an attempted connect operation. (Connection refused)], Exiting!
[Wed Jul 19 07:57:23 2023] ERROR: java.io.IOException: Stream Closed
Restart of scAgent only fixes the issue for the next first external/plug-in call, but does release the process (here the scAgent was restarted after almost two days):
[2023-07-11 18:48:44,041] INFO: Application Unquiesce for plugin: db2
[2023-07-13 15:22:57,503] ERROR: SCF-00032: Application unquiesce failed due to application error. To ignore application errors and proceed with backup you can set APP_IGNORE_ERROR=Y.