有幾種情況,一種是 local 端的語系與 server 不同,這樣必須自己定義 XML 語系。在產生XML文件的表頭加上:
output('<?xml version="1.0" encoding="' || fnd_profile.value('ICX_CLIENT_IANA_ENCODING') || '"?>');
但是只適用於用 package 產生 XML 檔的情況下,如果用Oracle report產生XML檔的話就沒地方改了。
另外Oracle profile 抓出來的語系代碼跟 IANA 規範的不一樣,所以必須自己轉,否則就悲劇了。
另一種是因為server上沒字型,
解決方式是:
1. 到$OA_JRE_TOP/jre/lib/fonts目錄下查是否有 ALBAN*.ttf 的字型檔。
2. 如果沒有的話,就到 $FND_TOP/resource 下面找,找到後copy一份過去
cp $FND_TOP/resource/ALBAN*.ttf $OA_JRE_TOP/lib/fonts
或是去metalink下載最新字型檔。
字型檔copy好後必須重開AP Server才會生效。
2014年2月23日 星期日
2014年2月19日 星期三
CentOS 安裝 Viturebox Guest Additions 失敗
錯誤訊息:
unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. 解決方式:# yum install -y gcc kernel-devel # rebootkernel 更新後必須更新軟體。
錯誤訊息:Building OpenGL support module ... failed 解決方式:# cd /usr/src/kernels/2.6.32-431.5.1.el6.i686/include/drm/
# ln -s /usr/include/drm/drm.h drm.h
# ln -s /usr/include/drm/drm_sarea.h drm_sarea.h
# ln -s /usr/include/drm/drm_mode.h drm_mode.h
# ln -s /usr/include/drm/drm_fourcc.h drm_fourcc.h VitureBox 安裝 CentOS 遇到 This kernel requires the following features not present on the CPU: pae 問題
錯誤訊息:
This kernel requires the following features not present on the CPU: pae
Unable to boot – please use a kernel appropriate for your CPU
解決方式很簡單,到設定值 > 系統 > 處理器 > 去把研伸功能勾起來就可以了。
話說 VitureBox居然沒有CentOS的圖示可選...而且為什麼只有Oracle自己的Linux是企鵝,其他都是企鵝腳底板?
This kernel requires the following features not present on the CPU: pae
Unable to boot – please use a kernel appropriate for your CPU
解決方式很簡單,到設定值 > 系統 > 處理器 > 去把研伸功能勾起來就可以了。
話說 VitureBox居然沒有CentOS的圖示可選...而且為什麼只有Oracle自己的Linux是企鵝,其他都是企鵝腳底板?
訂閱:
意見 (Atom)
