问题背景,EBS 前台页面可以正常跑请求,但是查看日志的时候发现存在警告:
REP-0004: Warning: Unable to open user preference file.
因此分析原因并在mos中查找资料信息如下:
Symptoms
All concurrent requests that run REPORTS are printing the following warning in the request log.
REP-0004: Warning: Unable to open user preference file.
Cause
This message occurs when the concurrent process attempts to open the Oracle Reports executable and your local preference file cannot be found or opened. This is just a warning, so the request will continue to run even if this occurs.
重点关注 解决方法:
Solution
To resolve the warning, copy the prefs.ora file from your Reports Builder $ORACLE_HOME/tools/admin/ directory into the Applications $HOME directory.
Example:
Copy of the file prefs.ora in the directory /sharp01/prod/apps/tech_st/10.1.2/tools/admin to the directory /home/appprod/.
NOTE:
For a report developed by xml publisher getting the same error, create /HDDATA/xml_tmp directory (environment dependent) on the system server after checking Administration from XML Publisher Administrator responsibility -> Configuration -> General -> Temporary directory column is /HDDATA/xml_tmp.
根据解决方法操作然后,重跑请求就该警告问题解决!
(笔者原创文章,转载请注明出处:https://blog.csdn.net/LFCuiYs)谢谢!