论坛首页 综合技术论坛

oracle 10g OEM界面按钮乱码解决办法

浏览 4098 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2010-04-14  
[oracle@node2 oracle]$ cd $ORACLE_HOME/jdk/jre/lib
[oracle@node2 lib]$ ls
audio                               font.properties.ko_KR.Sun           font.properties.zh_TW_UTF8.Sun2003
charsets.jar                        font.properties.ko_KR_UTF8.Sun      fonts
cmm                                 font.properties.ko_KR_UTF8.Sun2003  i386
content-types.properties            font.properties.ko.Redhat           im
ext                                 font.properties.ko.Redhat2.1        images
flavormap.properties                font.properties.Redhat6.1           jce.jar
font.properties                     font.properties.Redhat8.0           jsse.jar
font.properties.ja                  font.properties.SuSE8.0             jvm.hprof.txt
font.properties.ja_JP.Sun           font.properties.zh_CN.Redhat        jvm.jcov.txt
font.properties.ja_JP.Sun2003       font.properties.zh_CN.Redhat2.1     locale
font.properties.ja_JP_UTF8.Sun      font.properties.zh_CN.Sun           logging.properties
font.properties.ja_JP_UTF8.Sun2003  font.properties.zh_CN_UTF8.Sun      plugin.jar
font.properties.ja.Redhat3          font.properties.zh_HK.Sun           psfontj2d.properties
font.properties.ja.Redhat6.1        font.properties.zh_HK_UTF8.Sun      psfont.properties.ja
font.properties.ja.Redhat6.2        font.properties.zh_HK_UTF8.Sun2003  rt.jar
font.properties.ja.Redhat7.2        font.properties.zh.Turbo            security
font.properties.ja.Redhat7.3        font.properties.zh_TW.Redhat        sunrsasign.jar
font.properties.ja.Redhat8.0        font.properties.zh_TW.Redhat2.1     zi
font.properties.ja.Turbo            font.properties.zh_TW.Sun
font.properties.ja.Turbo6.0         font.properties.zh_TW_UTF8.Sun
[oracle@node2 lib]$ cp font.properties font.properties.bak
[oracle@node2 lib]$ rm -rf font.properties
[oracle@node2 lib]$ cp font.properties.zh_CN.Redhat font.properties
[oracle@node2 lib]$ cd $ORACLE_HOME/jre/1.4.2/lib/
[oracle@node2 lib]$ ls
audio                               font.properties.ko_KR.Sun           font.properties.zh_TW_UTF8.Sun2003
charsets.jar                        font.properties.ko_KR_UTF8.Sun      fonts
cmm                                 font.properties.ko_KR_UTF8.Sun2003  i386
content-types.properties            font.properties.ko.Redhat           im
ext                                 font.properties.ko.Redhat2.1        images
flavormap.properties                font.properties.Redhat6.1           jce.jar
font.properties                     font.properties.Redhat8.0           jsse.jar
font.properties.ja                  font.properties.SuSE8.0             jvm.hprof.txt
font.properties.ja_JP.Sun           font.properties.zh_CN.Redhat        jvm.jcov.txt
font.properties.ja_JP.Sun2003       font.properties.zh_CN.Redhat2.1     locale
font.properties.ja_JP_UTF8.Sun      font.properties.zh_CN.Sun           logging.properties
font.properties.ja_JP_UTF8.Sun2003  font.properties.zh_CN_UTF8.Sun      plugin.jar
font.properties.ja.Redhat3          font.properties.zh_HK.Sun           psfontj2d.properties
font.properties.ja.Redhat6.1        font.properties.zh_HK_UTF8.Sun      psfont.properties.ja
font.properties.ja.Redhat6.2        font.properties.zh_HK_UTF8.Sun2003  rt.jar
font.properties.ja.Redhat7.2        font.properties.zh.Turbo            security
font.properties.ja.Redhat7.3        font.properties.zh_TW.Redhat        sunrsasign.jar
font.properties.ja.Redhat8.0        font.properties.zh_TW.Redhat2.1     zi
font.properties.ja.Turbo            font.properties.zh_TW.Sun
font.properties.ja.Turbo6.0         font.properties.zh_TW_UTF8.Sun
[oracle@node2 lib]$ mv font.properties font.properties.bak
[oracle@node2 lib]$ cp font.properties.zh_CN.Redhat font.properties
[oracle@node2 lib]$ cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs
[oracle@node2 zhs]$ ls
b-70.gif  b-70.imx  b-7c2d.gif  b-7c2d.imx  b-f81cbf.gif  b-f81cbf.imx  b-f8.gif  b-f8.imx  tb-0.gif  tb-0.imx
[oracle@node2 zhs]$ rm -rf *
[oracle@node2 zhs]$ ls
[oracle@node2 zhs]$ comctl stop dbconsole
-bash: comctl: command not found
[oracle@node2 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://node2.domain:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ... 
 ...  Stopped. 
[oracle@node2 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://node2.domain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ................

 在 $ORACLE_HOME/jdk/jre/lib 和 $ORACLE_HOME/jre/1.4.2/lib/ 目录下都有多种字符集字体配置文件,将中文字符集替换成默认的font.properties

然后清理一下cache,cache所在的目录$ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs

删除该目录下所有的gif文件,重新启动OEM即可

   发表时间:2010-04-16  
如果, 我猜测的不错, 可以在jdk font目录下建立一个fallback的目录, 然后把字体文件直接扔进去就好了。

你可以测试下。我就这么在其他系统的汉字显示问题上这么做的。
0 请登录后投票
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics