亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: aix5.3+oracel10gr2中EM界面中按紐的字符是亂瑪,如何解決? [打印本頁]

作者: hou007    時(shí)間: 2006-06-13 12:04
標(biāo)題: aix5.3+oracel10gr2中EM界面中按紐的字符是亂瑪,如何解決?
rt
作者: ieting    時(shí)間: 2006-06-15 17:08
一直沒怎麼用10g的EM工具,今天打開來看看,發(fā)現(xiàn)也有相傳已久的亂碼問題.網(wǎng)上也流傳著N種解決方案,仔細(xì)看一下,其實(shí)這個(gè)問題很好解決.
如果安裝時(shí),我們系統(tǒng)環(huán)境變數(shù)設(shè)置的是中文環(huán)境,那麼就不會(huì)有這個(gè)問題.這個(gè)問題根本原因在於安裝時(shí),JDK/JRE字元集的自動(dòng)選擇.

在 $ORACLE_HOME/jdk/jre/lib 和 $ORACLE_HOME/jre/1.4.2/lib/ 目錄下都有多種字元集字體配置檔:

[oracle@danaly ~]$ cd $ORACLE_HOME/jdk/jre/lib
[oracle@danaly lib]$ ls font*zh_CN*
font.properties.zh_CN.Redhat  font.properties.zh_CN.Redhat2.1  
font.properties.zh_CN.Sun  font.properties.zh_CN_UTF8.Sun

[oracle@danaly lib]$ cd $ORACLE_HOME/jre/1.4.2/lib/
[oracle@danaly lib]$ ls font*zh_CN*
font.properties.zh_CN.Redhat  font.properties.zh_CN.Redhat2.1  
font.properties.zh_CN.Sun  font.properties.zh_CN_UTF8.Sun

我們只要用合適的中文字元集檔替換缺省檔即可,我選擇使用font.properties.zh_CN.Redhat來替換缺省字體定義檔:
[oracle@danaly lib]$ cp font.properties.zh_CN.Redhat font.properties

替換之後需要清理一下Cache,重啟EM即可.
Cache路徑通常位於:
$ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs

清除所有g(shù)if檔即可.然後重新啟動(dòng)EM:
[oracle@danaly zhs]$ emctl stop dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://danaly.hurrray.com.cn:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
...  Stopped.
[oracle@danaly zhs]$ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://danaly.hurrray.com.cn:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control .............. started.
------------------------------------------------------------------
Logs are generated in directory
/opt/oracle/product/10.2.0/danaly.hurrray.com.cn_danaly/sysman/log  


步驟
mv font.properties font.properties.bak
cp font.properties.zh_TW.Redhat font.properties
rm $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zht/*.gif
emctl stop dbconsole
emctl start dbconsole


PS:轉(zhuǎn)帖的 出處忘了 如原著發(fā)現(xiàn) 請(qǐng)?jiān)僬J(rèn)領(lǐng)一下囉




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2