adadmin批量編譯form失效的問題

在一個新環境中或者是某些環境中出現了form界面顯示不正常,中英文混亂,等等錯誤,一般是form編譯的問題,比如,應該是編譯到中文環境下的,編譯到了英文環境等等,這個時候就需要再次編譯from文件:
通常是手動編譯:

frmcmp_batch userid=xxx/xxx module=$AU_TOP/forms/ZHS/formfilename.fmb output_file=$CUX_TOP/forms/ZHS/formfilename.fmx module_type=form compile_all=yes

關於這個編譯語句的問題,一般賬號密碼是數據庫的賬號密碼,然後一般fmb文件是存在$AU_TOP/forms/ZHS下的,因爲一般是中文環境,英文的話在US下,或者是其它語言環境也可以建其他的文件夾。

然後編譯後的fmx文件,爲了方便管理,一般是會建很多個文件夾分開保存的,像是CUX不同於系統自帶的標準的FA,GL等,代表的是客戶化的form文件,需要放在$CUX_TOP/forms/ZHS下

但是上述語句一句只能編譯一條form文件,如果大批量的編譯,比較費力,可以寫好多條進行編譯,但是比較麻煩,所以這個時候可以用adadmin命令對不同模塊進行批量編譯,編譯前,需要先對模塊進行註冊:
使用adadmin批量編譯form無效問題
問題描述:R12中很多中文的form沒有編譯,使用adadmin批量編譯form,發現某些模塊沒有編譯成功
問題原因:模塊沒有註冊
解決方法:
打開 系統管理員 ==> Oracle Applications 管理器 ==> 許可證管理器
如果此頁面打開報錯:
這裏寫圖片描述
將APPL_TOP/admin下的prod.txt刪除或者重命名即可
此頁面報錯原因:客戶化應用產品文件格式錯誤,由於License管理使用CreateProduct.java使用
$APPL_TOP/admin/prod.txt和fnd_product_installations,因此錯誤的prod.txt
導致報錯
點擊Product
這裏寫圖片描述
點擊下圖所示:
這裏寫圖片描述
選擇要註冊的模塊:點擊next,最後點擊commit即可
這裏寫圖片描述

ADADMIN的菜單項介紹

ADADMIN有5個一級菜單,每個一級菜單下都有明細的功能項

一級菜單

AD Administration Main Menu

1.Generate Applications Files menu
2.Maintain Applications Files menu
3.Compile/Reload Applications Database Entities menu
4.Maintain Applications Database Entities menu
5.Change Maintenance Mode
6.Exit AD Administration

每一個一級菜單下的明細功能項

Generate Applications Files

如果系統用戶無法訪問Message,Form或者Report,你可以嘗試使用“Generate Applications Files” 下的菜單來解決問題。

1.Generate message files

This task generates message binary files in the $PROD_TOP/mesg directory from oracle application object library tables.We generally perform this task only when instructed to do so in a readme file of a patch.

2.Generate form files

  1. form,把$AU_TOP/forms//下的fmb文件生成_TOP/forms/下的fmx文件
  2. library,把$AU_TOP/resource/下的pll文件重新生成plx文件

  3. menu,FNDMENU.mmb -> FNDMENU.mmx

3.Generate report files

根據安裝語言生成report文件(.rdf)

4.Generate graphics files

This task generates Oracle graphics files for all installed languages. Extension of the file name like (*.ogd),The serious of prompts and actions in this task are very similar to the prompts and actions in the Generate form files task.

5.Generate product JAR files

GenerateJava archive (JAR) files whenever you upgrade the Developer technology stack orwhen recommended by Oracle Support Services. It signs JAR files (if on the Webserver) and does the following:
■Generates product JAR files in JAVA_TOP and copies them to APPL_TOP.
■Generates other Java-related files under APPL_TOP and JAVA_TOP.
■Recreates Java libraries (appsborg.zip and appsborg2.zip) under APPL_TOP andJAVA_TOP.

6.Return to Main Menu

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