Error When Deploying formsapp.ear File in an R12 Apps Instance

(Doc ID 1074765.1)

Last updated on JULY 28, 2016

Applies to:

Oracle Applications Technology Stack - Version 12.0 to 12.1.2 [Release 12.0 to 12.1]
Information in this document applies to any platform.
Checked for relevance on 09-NOV-2013

Symptoms

When following <Note 437878.1> Upgrading OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12
Part of the upgrade is to redeploy ear file as per "Step 3.8: Redeploy the new Forms EAR file" , <Note  397174.1> Deploying a New Forms EAR File in Oracle Applications Release 12

When running

$FND_TOP/bin/txkrun.pl -script=CfgOC4JApp


the following error occurs.

$FND_TOP/bin/txkrun.pl -script=CfgOC4JApp
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = $LOG_HOME/appl/rgf/TXK/txkCfgOC4JApp_<timestamp>.log
Program : $FND_TOP/patch/115/bin/txkCfgOC4JApp.pl started

*** Log File = $LOG_HOME/appl/rgf/TXK/txkCfgOC4JApp_<timestamp>.log

Enter Application name for re-deployment ? forms
Enter Oc4j Instance password for re-deployment ?
Run Autoconfig ? No
*****************************************************
Required values for starting OC4J instance "forms":
====================================================
s_formsstatus = enabled
s_forms_nprocs = 1 (value should be greater than 0)


Existing values from the context file:
======================================
s_formsstatus = enabled
s_forms_nprocs = 1
----------------------------------------------

*** Values for context variables are VALID ***

----------------------------------------------

*****************************************************

Stopping all OPMN processes.
OPMN stopped.
OPMN started.
Deplolying Application : "forms" onto OC4J instance: "forms"

Errors encountered running $FND_TOP/patch/115/bin/txkCfgOC4JApp.pl

*******FATAL ERROR*******
PROGRAM : $FND_TOP/patch/115/bin/txkCfgOC4JApp.pl($FND_TOP/bin/txkrun.pl)
TIME : <timestamp>
FUNCTION: TXK::Process::run [ Level 3 ]
MESSAGES:
Command error: = 256, = $IAS_ORACLE_HOME/jdk/bin/java -jar $IAS_ORACLE_HOME/j2ee/home/admin_client.jar deployer:oc4j:opmn://hosname.domain:port/forms oc4jadmin ******* -deploy -file $ORACLE_HOME/forms/j2ee/formsapp.ear -deploymentName forms


STACK TRACE
TXK::Error::abort('TXK::Error','HASH(0x27831c)') called at $AU_TOP/perl/TXK/Common.pm line 299
TXK::Common::doError('TXK::Process=HASH(0xe679c0)','
Command error: = 256, = ..','undef') called at $AU_TOP/perl/TXK/Common.pm line 314
TXK::Common::setError('TXK::Process=HASH(0xe679c0)','
Command error: = 256, = ...') called at $AU_TOP/perl/TXK/Process.pm line 449
TXK::Process::run('TXK::Process=HASH(0xe679c0)','HASH(0xe4c85c)') called at $FND_TOP/patch/115/bin/txkCfgOC4JApp.pl line 1148
TXK::RunScript::deployOC4JInstance('HASH(0xd4ecb8)') called at $FND_TOP/patch/115/bin/txkCfgOC4JApp.pl line 620
require $FND_TOP/patch/115/bin/txkCfgOC4JApp.pl called at $AU/12.0.0/perl/TXK/RunScript.pm line 105
TXK::RunScript::require('TXK::RunScript','$FND_TOP/patch...') called at $AU_TOP/perl/TXK/Script.pm line 177
eval {...} called at $AU_TOP/perl/TXK/Script.pm line 177
TXK::Script::run('TXK::Script=HASH(0xcb45f8)','$LOG_HOME/a...','$FND_TOP/patch...') called at $FND_TOP/bin/txkrun.pl line 174


oc4admin is correct and has been set according to <Note 397174.1> Deploying a New Forms EAR File in Oracle Applications Release 12

The issue can be reproduced at will with the following steps:
1. Run /txkrun.pl -script=CfgOC4JApp on the applications node.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms