$FND_TOP/bin/txkrun.pl -script=DeployForms-c4ws Fails with Fatal Error forms-c4ws Already Exists
Run TXK deployment script. to install forms-c4ws.ear and configure container Forms-c4ws J2EE group correctly, as shown below:
$FND_TOP/bin/txkrun.pl -script=DeployForms-c4ws .
This fails with the following error :
Error creating new OC4J instance: create oc4j instance fails: The directory
/devapps2/appldev/DPHUB/apps/tech_st/10.1.3/j2ee/forms-c4ws already exists.
Execute SYSTEM command :
/devapps2/appldev/DPHUB/apps/tech_st/10.1.3/opmn/bin/opmnctl start
opmnctl: opmn started.
Execute SYSTEM command :
/devapps2/appldev/DPHUB/apps/tech_st/10.1.3/opmn/bin/opmnctl startproc
instancename=forms-c4ws
Errors encountered running
/devapps2/appldev/DPHUB/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkDeployFo
rms-c4ws.pl
*******FATAL ERROR*******
PROGRAM :
/devapps2/appldev/DPHUB/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkDeployFo
rms-c4ws.pl(/devapps2/appldev/DPHUB/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl
)
TIME : Wed Jul 28 10:30:53 2010
FUNCTION: TXK::Process::run [ Level 3 ]
MESSAGES:
Command error: = 38400, =
/devapps2/appldev/DPHUB/apps/tech_st/10.1.3/opmn/bin/opmnctl startproc
instancename=forms-c4ws
STACK TRACE
TXK::Error::abort('TXK::Error','HASH(0x821ce88)') called at
/devapps2/appldev/DPHUB/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line
299
TXK::Common::doError('TXK::Process=HASH(0x916b2fc)','Command error: =
38400, = /devapps2/appldev/DP...','undef') called at
/devapps2/appldev/DPHUB/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line
314
TXK::Common::setError('TXK::Process=HASH(0x916b2fc)','Command error: =
38400, = /devapps2/appldev/DP...') called at
/devapps2/appldev/DPHUB/apps/apps_st/appl/au/12.0.0/perl/TXK/Process.pm line
449
This fails with the following error :
Error creating new OC4J instance: create oc4j instance fails: The directory
/devapps2/appldev/DPHUB/apps/tech_st/10.1.3/j2ee/forms-c4ws already exists.
Execute SYSTEM command :
/devapps2/appldev/DPHUB/apps/tech_st/10.1.3/opmn/bin/opmnctl start
opmnctl: opmn started.
Execute SYSTEM command :
/devapps2/appldev/DPHUB/apps/tech_st/10.1.3/opmn/bin/opmnctl startproc
instancename=forms-c4ws
Errors encountered running
/devapps2/appldev/DPHUB/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkDeployFo
rms-c4ws.pl
*******FATAL ERROR*******
PROGRAM :
/devapps2/appldev/DPHUB/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkDeployFo
rms-c4ws.pl(/devapps2/appldev/DPHUB/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl
)
TIME : Wed Jul 28 10:30:53 2010
FUNCTION: TXK::Process::run [ Level 3 ]
MESSAGES:
Command error: = 38400, =
/devapps2/appldev/DPHUB/apps/tech_st/10.1.3/opmn/bin/opmnctl startproc
instancename=forms-c4ws
STACK TRACE
TXK::Error::abort('TXK::Error','HASH(0x821ce88)') called at
/devapps2/appldev/DPHUB/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line
299
TXK::Common::doError('TXK::Process=HASH(0x916b2fc)','Command error: =
38400, = /devapps2/appldev/DP...','undef') called at
/devapps2/appldev/DPHUB/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line
314
TXK::Common::setError('TXK::Process=HASH(0x916b2fc)','Command error: =
38400, = /devapps2/appldev/DP...') called at
/devapps2/appldev/DPHUB/apps/apps_st/appl/au/12.0.0/perl/TXK/Process.pm line
449
Solution
1. To get the /txkDeployForms-c4ws.pl to deploy, rename the file that already exists and run again.
Move the current deployment:
Example:
mv /devapps2/appldev/DPHUB/apps/tech_st/10.1.3/j2ee/forms-c4ws /devapps2/appldev/DPHUB/apps/tech_st/10.1.3/j2ee/forms-c4ws.ori
Move the current deployment:
Example:
mv /devapps2/appldev/DPHUB/apps/tech_st/10.1.3/j2ee/forms-c4ws /devapps2/appldev/DPHUB/apps/tech_st/10.1.3/j2ee/forms-c4ws.ori
本文转自ITPUB博客tolywang的博客,原文链接:$FND_TOP/bin/txkrun.pl -script=DeployForms-c4ws Fails with Fatal Error,如需转载请自行联系原博主。