Quick solution for oracle10g em garbled

Source: Internet
Author: User
Tags character set reserved

has not been how to use the 10g EM tool, opened today to see, found that there has been a long time garbled problem. Online also spread the n solution, carefully look, in fact this problem is very good solution.

If the system environment variable is set up in the Chinese environment, then there is no problem. The root cause of this problem is the automatic selection of the JDK/JRE character set when installing.

There are multiple character set font profiles in the $ORACLE _home/jdk/jre/lib and $ORACLE _home/jre/1.4.2/lib/directory:

 
  
   
  [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
 
  

As long as we replace the default file with the appropriate Chinese character set file, I choose to use Font.properties.zh_CN. Redhat to replace the default font definition file:

[Oracle@danaly lib]$ CP Font.properties.zh_CN. Redhat font.properties

After the replacement, you need to clean up the cache and reboot em.

The cache path is typically located at:

$ORACLE _HOME/OC4J/J2EE/OC4J_APPLICATIONS/APPLICATIONS/EM/EM/CABO/IMAGES/CACHE/ZHS

Clear all GIF files. Then reboot em:

 
  
   
  [Oracle@danaly zhs]$ emctl stop Dbconsoletz set to Prcoracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
   copyright (c) 1996, Oracle Corporation.  All rights reserved.http://danaly.hurrray.com.cn:1158/em/console/aboutapplicationstopping Oracle Enterprise Manager 10g Database Control ...  ...  Stopped. [Oracle@danaly zhs]$ emctl start Dbconsoletz set to Prcoracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
   copyright (c) 1996, Oracle Corporation.  All rights reserved.http://danaly.hurrray.com.cn:1158/em/console/aboutapplicationstarting 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
 
  


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.