R12 FORM compilation error with ORA-12154: TNS:could not resolve the connect identifier specified

$ cd $AU_TOP/forms/US
$ frmcmp_batch.sh module=$AU_TOP/forms/US/$1.fmb userid=APPS/APPS output_file=$PER_TOP/forms/US/$1.fmx module_type=form batch=NO compile_all=special

Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)

Forms 10.1 (Form Compiler): Release - Production

Copyright (c) 1982, 2005, Oracle. All rights reserved.

PL/SQL Version 10.1.0.5.0 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.5.0 Production
ORA-12154: TNS:could not resolve the connect identifier specified

Solution:
Apply patch 5456500

Workaround:

REPLACE:
TNS_ADMIN=$ORACLE_HOME/network/admin
export TNS_ADMIN

WITH:
TNS_ADMIN=${TNS_ADMIN:-$ORACLE_HOME/network/admin}
export TNS_ADMIN
#TWO_TASK=<your database connect string>; export TWO_TASK
#ORACLE_SID=< ORACLE SID >; export ORACLE_SID

in the following files($ORACLE_HOME/bin):
frmbld.sh
frmcmp.sh
frmcmp_batch.sh
frmplsqlconv.sh

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章