RedhatLinuxOracle10Gem button garbled Solution

Source: Internet
Author: User
OS: RedHatLinux today found that the webpage content in em is normal, but the button is garbled. The solution is as follows: 1. Modify the font under jdk. [Oracle @ rac2db_1] $ cd $ ORACLE_HOME/jdk/jre/lib/[oracle @ rac2lib] $ mvfont. propertiesfont. properties_bak [oracle @ rac2lib] $ [oracle @ ra

OS: RedHat Linux

Today, we found that the webpage content in em is normal, but the buttons are garbled.

The solution is as follows:

1. Modify the font of jdk.
[Oracle @ rac2 db_1] $ cd $ ORACLE_HOME/jdk/jre/lib/
[Oracle @ rac2 lib] $ mv font. properties font. properties_bak
[Oracle @ rac2 lib] $
[Oracle @ rac2 lib] $ cp font. properties. zh_CN.Redhat font. properties
[Oracle @ rac2 lib] $

2. Modify the font below the jre
[Oracle @ rac2 lib] $ cd $ ORACLE_HOME/jre/1.4.2/lib
[Oracle @ rac2 lib] $ mv font. properties font. properties_bak
[Oracle @ rac2 lib] $ cp font. properties. zh_CN.Redhat font. properties

3. Clear em cache
[Oracle @ rac2 lib] $ cd $ ORACLE_HOME/productname/j2ee/oc4j_applications/applications/em/cabo/images/cache/zhs
[Oracle @ rac2 zhs] $ rm *. gif

4. Restart em
[Oracle @ rac2 zhs] $ emctl stop dbconsole
[Oracle @ rac2 zhs] $ emctl start dbconsole

In addition, pay attention to font. properties: Specifies the font file in the last line of properties. If no font file exists, you must also note that the font file must have operation permissions. The following is my settings for CentOS5.

[Oracle @ localhost lib] $ tail-n 3 font. properties
Filename.-misc-zysong18030-medium-r-normal -- *-% d-*-c-*-iso10646-1 =/usr/share/fonts/chinese/TrueType/uming. ttf
[Oracle @ localhost lib] $

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.