frmcmp.sh报FRM-91500

本文解决在Linux环境下使用frmcmp.sh命令时遇到的问题,特别是当通过SSH客户端连接服务器且没有GUI环境时命令无法正常运行的情况。提供了两种解决方案:设置DISPLAY环境变量或使用frmcmp_batch命令进行编译。并附上了有GUI展示的界面截图作为参考。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[oracle@bej301441 ~]$ frmcmp.sh
FRM-91500: Unable to start/complete the build.


Reason:frmcmp.sh需要GUI显示,如果通过putty之类的SSH客户端连上服务器的话,无法GUI展示,所以命令会报错。


Solution 1:

The only catch is when you use frmcmp.sh you need to be able to launch an X session. The easiest way to check is by running xclock and seeing that the clock appears. If not you need to set the DISPLAY env variable to your computers IP. Such as: export DISPLAY=<IP>:0.0

(refer:http://oracleformsinfo.wordpress.com/2012/01/10/frm-91500-linux/)


export TNS_ADMIN=$ORACLE_HOME/network/admin
export TERM=vt220
export DISPLAY="127.0.0.1:10.0"
cd /path/of/forms
frmcmp.sh userid=cadena-conexion module=Forma.fmb

(refer:http://www.orafaq.com/forum/t/58100/2/ )


Solution 2:
使用frmcmp_batch命令来编译你的Form或者Library
Compile Form
frmcmp_batch module=ABCDEFG.fmb userid=apps/apps@instance output_file=ABCDEFG.fmx

Compile Library
frmcmp_batch module=ABCDEFG.pld module_type=LIBRARY parse=yes userid=apps/password@yourinstance

frmcmp_batch module=ABCDEFG.pll userid=apps/password@yourinstance module_type=LIBRARY compile_all=yes




ps:下图为在有GUI展示的linux环境,单独运行frmcmp.sh命令所调出的界面


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值