轻松解决Oracle 10g 的em中文乱码问题

3/9/2008来源:Oracle教程人气:7430

Oracle 10g中em中文乱码问题的解决过程:


注意:这两个目录下的文件都需要替换。


[oracle@linux1 admin]$ cd /u01/app/oracle/PRoduct/10.2.0/db_1/jdk/jre/lib/

[oracle@linux1 lib]$

[oracle@linux1 lib]$ ls font*zh_CN*

font.properties.zh_CN.Redhat     font.properties.zh_CN.Sun

font.properties.zh_CN.Redhat2.1  font.properties.zh_CN_UTF8.Sun

[oracle@linux1 lib]$ cd /u01/app/oracle/product/10.2.0/db_1/jre/1.4.2/lib/

[oracle@linux1 lib]$ ls font*zh_CN*

font.properties.zh_CN.Redhat     font.properties.zh_CN.Sun

font.properties.zh_CN.Redhat2.1  font.properties.zh_CN_UTF8.Sun

[oracle@linux1 lib]$ mv font.properties font.properties.bak

[oracle@linux1 lib]$ cp font.properties.zh_CN.Redhat font.properties

[oracle@linux1 lib]$ emctl stop dbconsole

TZ set to PRC

cd $Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

http://linux1:1158/em/console/aboutapplication

Stopping Oracle Enterprise Manager 10g Database Control ...

 ...  Stopped.

[oracle@linux1 lib]$

 cd /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/

oc4j_applications/applications/em/em/cabo/images/cache/zhs/

[oracle@linux1 zhs]$ ls

b-3d.gif  b-68.gif  b-70.gif  b-b5.gif  b-iagree.gif  tb-0-0.gif

b-3d.imx  b-68.imx  b-70.imx  b-b5.imx  b-iagree.imx  tb-0-0.imx

[oracle@linux1 zhs]$ rm -f *.gif

[oracle@linux1 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://linux1:1158/em/console/aboutApplication

Starting Oracle Enterprise Manager 10g Database Control ......