My Oracle Support Banner

Applying a Portal Patch Hangs with Message: SystemCall:RuntimeExec(cmds, runDir): GOING into process.waitFor() (Doc ID 2820577.1)

Last updated on NOVEMBER 18, 2021

Applies to:

Oracle WebCenter Portal - Version 12.2.1.4.0 and later
Information 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: 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

 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:

  1. Try to apply a patch using opatch.
     
  2. 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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.