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

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