Applying a Portal Patch Hangs with Message: SystemCall:RuntimeExec(cmds, runDir): GOING into process.waitFor()
(Doc ID 2820577.1)
Last updated on FEBRUARY 13, 2023
Applies to:
Oracle WebCenter Portal - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
ACTUAL BEHAVIOR
Applying a WebCenter Portal patch hangs with the following messages:
ERROR
[<TIMESTAMP>] [INFO] CUP_LOG: HomeOperations object created. CUP2.0 is enabled
[<TIMESTAMP>] [FINEST] OUIReplacer::runEnvScript() called
[<TIMESTAMP>] [FINEST] SystemCall:RuntimeExec(cmds, runDir): GOING to start thread to read Input Stream
[<TIMESTAMP>] [FINEST] SystemCall:RuntimeExec(cmds, runDir): Started thread to read Input Stream
[<TIMESTAMP>] [FINEST] SystemCall:RuntimeExec(cmds, runDir): GOING to start thread to read Error Stream
[<TIMESTAMP>] [FINEST] SystemCall:RuntimeExec(cmds, runDir): Started thread to read Error Stream
[<TIMESTAMP>] [INFO] ReaderThread::run(): Stream ErrorStream about to be read
[<TIMESTAMP>] [FINEST] ReaderThread::run(): Stream InputStream about to be read
[<TIMESTAMP>] [FINEST] SystemCall:RuntimeExec(cmds, runDir): GOING into process.waitFor()
[<TIMESTAMP>] [FINEST] ReaderThread::run(): Stream InputStream reading completed
OR
[<TIMESTAMP>] [INFO] CUP_LOG: Trying to load HomeOperations object
[<TIMESTAMP>] [INFO] CUP_LOG: HomeOperations object created. CUP2.0 is enabled
[<TIMESTAMP>] [FINEST] OUIReplacer::runEnvScript() called
[<TIMESTAMP>] [FINEST] SystemCall:RuntimeExec(cmds, runDir): GOING to start thread to read Input Stream
[<TIMESTAMP>] [FINEST] SystemCall:RuntimeExec(cmds, runDir): Started thread to read Input Stream
[<TIMESTAMP>] [FINEST] SystemCall:RuntimeExec(cmds, runDir): GOING to start thread to read Error Stream
[<TIMESTAMP>] [FINEST] SystemCall:RuntimeExec(cmds, runDir): Started thread to read Error Stream
[<TIMESTAMP>] [INFO] ReaderThread::run(): Stream ErrorStream about to be read
[<TIMESTAMP>] [FINEST] ReaderThread::run(): Stream InputStream about to be read
[<TIMESTAMP>] [FINEST] SystemCall:RuntimeExec(cmds, runDir): GOING into process.waitFor()
[<TIMESTAMP>] [FINEST] ReaderThread::run(): Stream InputStream reading completed
[<TIMESTAMP>] [SEVERE] OUI-67008:OPatch Session completed with warnings.
[<TIMESTAMP>] [INFO] Finishing UtilSession at <TIMESTAMP>
[<TIMESTAMP>] [INFO] Log file location: <MW_HOME>/cfgtoollogs/opatch/<OPATCHYYYY-MM-DD_HH-MI-SS>.log
Additional testing found that opatch failed with any patch and also running opatch lspatches command.
STEPS
The issue can be reproduced with the following steps:
- Try to apply a patch using opatch.
- See that opatch hangs.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |