在安装时系统环境变量设置为中文环境就不会出现这个问题了出现这个问题的原因在于安装时JDK/JRE字符集的自动选择
在 $ORACLE_HOME/jdk/jre/lib 和 $ORACLE_HOME/jre//lib/ 目录下都有多种字符集字体配置文件
[oracle@danaly ~]$ cd $ORACLE_HOME/jdk/jre/lib[oracle@danaly lib]$ ls font*zh_CN*fontpropertieszh_CNRedhat fontpropertieszh_CNRedhat fontpropertieszh_CNSun fontpropertieszh_CN_UTFSun [oracle@danaly lib]$ cd $ORACLE_HOME/jre//lib/[oracle@danaly lib]$ ls font*zh_CN*fontpropertieszh_CNRedhat fontpropertieszh_CNRedhat fontpropertieszh_CNSun fontpropertieszh_CN_UTFSun
我们只要用合适的中文字符集文件替换缺省文件即可我选择使用fontpropertieszh_CNRedhat来替换缺省字体定义文件
[oracle@danaly lib]$ cp fontpropertieszh_CNRedhat fontproperties
替换之后需要清理一下Cache重启EM即可
Cache路径通常位于
$ORACLE_HOME/ocj/jee/ocj_applications/applications/em/em/cabo/images/cache/zhs
清除所有gif文件即可然后重新启动EM
[oracle@danaly zhs]$ emctl stop dbconsoleTZ set to PRCOracle Enterprise Manager g DatabaseControl Release Copyright (c) Oracle Corporation All rights reservede Enterprise Manager g Database Control Stopped [oracle@danaly zhs]$ emctl start dbconsoleTZ set to PRCOracle Enterprise Manager g Database Control Release Copyright (c) Oracle Corporation All rights reservede Enterprise Manager g Database Control started Logs are generated in directory /opt/oracle/product//danaly_danaly/sysman/log
此时登陆到Web页面EM就会显示中文了