Sunday, January 2, 2011

Rw-50004 Error Code Recieved While Running External Process

I'm providing the following note as it is, which i used to solve my installation problem for EBS.

Restarting Rapidwiz gets Rw-50004 Error Code Recieved While Running External Process [ID 790298.1]

  Modified 15-MAR-2009     Type PROBLEM     Status MODERATED  

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

Applies to:

Oracle Applications Manager - Version: 12.0.0 to 12.0.6
Microsoft Windows 2000
Microsoft Windows Server 2003


When attempting to run rapidwiz using restart option it fails with errors as seen in Installation log.

C:\DOCUME~1\oraapp\LOCALS~1\Temp>if "D:\oracle\VIS\inst\apps\VIS_appssvr\temp\adrunias.cmd" ==
"D:\oracle\VIS\inst\apps\VIS_appssvr\temp\adrunias.cmd" (if not ""runProcess_1"" == "FALSE" (goto
:"runProcess_1" ) else (goto :runProcess_1 ) )

RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running APPL_TOP Install Driver for VIS instance

The issue can be reproduced at will with the following steps:
1. Install R12 using rapidwiz with restart option
    rapidwiz -restart


Previous installation failed part way through installation.  Issue causing failure was resolved so now trying to continue with installation using restart option, which is now failing with this error.


Issue occurs due to the extra quotes ie ""runProcess_1"" seen in the error (from install log) and related only if restarting the installation as it reads restart.xml. Issue can be confirmed by looking at value for variable s_rerunprocess in restart.xml which will have quotes.  eg:

DB Node: <Base install>/inst/apps/$CONTEXT_NAME/temp/restart.xml
APPS Node: $INST_TOP/temp/restart.xml

<installprocess oa_var="s_rerunprocess">"runProcess_1"</installprocess>


To implement the solution, please execute one of the following steps:

1. Open for edit restart.xml file:
DB Node: <Base install>/inst/apps/$CONTEXT_NAME/temp/restart.xml
APPS Node: $INST_TOP/temp/restart.xml
NOTE: Depending on when the failure occurred, it will depend on which restart.xml file is to be modified

2. Change line
FROM: <installprocess oa_var="s_rerunprocess">"runProcess_1"</installprocess>
TO: <installprocess oa_var="s_rerunprocess">runProcess_1</installprocess>
c. Use restart option to retry the installation.

NOTE: It is also advised that the latest rapidwiz version be use, patch 6919017 -


Show Related Information Related

  • Oracle E-Business Suite > Applications Technology > Lifecycle Management > Oracle Applications Manager
RW-50010; RW-50004

No comments:

Post a Comment