免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1519 | 回复: 0
打印 上一主题 下一主题

Oracle EM按钮出现方格。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-23 03:37 |只看该作者 |倒序浏览
Enterprise Manager Console UI: Cannot view Chinese / Japanese (Asian) Characters on the Buttons of Enterprise Manager Console [ID 340952.1]
  修改时间 02-SEP-2010     类型 PROBLEM     状态 PUBLISHED  

In this Document
  <A href='https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=340952.1&addClickInfo=<data search_text="340952.1" search_result_size="1" search_result_count="1" powerview_id="" on_off="off"/>#SYMPTOM'>Symptoms
  <A href='https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=340952.1&addClickInfo=<data search_text="340952.1" search_result_size="1" search_result_count="1" powerview_id="" on_off="off"/>#CHANGE'>Changes
  <A href='https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=340952.1&addClickInfo=<data search_text="340952.1" search_result_size="1" search_result_count="1" powerview_id="" on_off="off"/>#CAUSE'>Cause
  <A href='https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=340952.1&addClickInfo=<data search_text="340952.1" search_result_size="1" search_result_count="1" powerview_id="" on_off="off"/>#FIX'>Solution
     <A href='https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=340952.1&addClickInfo=<data search_text="340952.1" search_result_size="1" search_result_count="1" powerview_id="" on_off="off"/>#aref1'>For Database Control
     <A href='https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=340952.1&addClickInfo=<data search_text="340952.1" search_result_size="1" search_result_count="1" powerview_id="" on_off="off"/>#aref2'>For Grid Control
  <A href='https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=340952.1&addClickInfo=<data search_text="340952.1" search_result_size="1" search_result_count="1" powerview_id="" on_off="off"/>#REF'>References

Applies to: Enterprise Manager Grid Control - Version: 10.1.0.2 and later   [Release: 10.1 and later ]
Enterprise Manager Grid Control - Version: 10.1.0.2 to 11.2.0.1   [Release: 10.1 to 11.2]
Information in this document applies to any platform.
Enterprise Manager Database Control - Version: 10.1.0.2 onwards SymptomsCharacters / text on the buttons in the Database Console / Grid Console user interface pages are not displayed correctly, when the browser language is set to Chinese. The characters on the buttons appear as small squares:



This issue may also occur for other Asian Languages such as Japanese, Korean etc.

When the language is set back to English, the text on the button is seen correctly.


ChangesChange the browser language settings to Chinese, for example : Chinese (China) [zh-cn] Cause

The font files required for displaying these characters are missing in the ORACLE_HOME from where the Database Control / Grid Control is installed. The missing font files are:

ALBANWTJ.ttf
ALBANWTK.ttf
ALBANWTS.ttf
ALBANWTT.ttf

- For Database control, this has been investigated in the Bug 8602138 : CHARACTERS ON DBCONSOLE BUTTON ARE NOT CORRECT WITH CHINESE LANGUAGE

- For Grid Control, the issue is still under investigation in the internal Bug : BUTTONS IN CONSOLE STILL SHOW SMALL SQUARES IF BROWSER LANGUAGE IS CHINESE

Solution For Database Control

It was found during the bug investigation that the necessary font files are present in the Database software but are not copied to the Database ORACLE_HOME, at the time of Database installation, if the Language is not chosen as Chinese (or any other Asian character set for which the issue occurs).

Solution:

If the Database Control needs to be accessed in the Chinese language, ensure that the language at the time of Database software installation has been appropriatetly.

Workaround:

1. In the Database Software, extract the following files using winzip or any other unzip utility (which recognises the jar format):

Disk1/stage/Components/oracle.bali.displayFonts/9.0.2.0.0/1/DataFiles/display.1.1.jar
Disk1/stage/Components/oracle.bali.displayFonts/9.0.2.0.0/1/DataFiles/display.2.1.jar
Disk1/stage/Components/oracle.bali.displayFonts/9.0.2.0.0/1/DataFiles/display.3.1.jar
Disk1/stage/Components/oracle.bali.displayFonts/9.0.2.0.0/1/DataFiles/display.4.1.jar

2. Extracing the above will result in the following font files:

ALBANWTK.TTF
ALBANWTT.TTF
ALBANWTS.TTF
ALBANWTJ.TTF

3. Copy the above four font files to the <DB_ORACLE_HOME/jdk/jre/lib/fonts directory.

4. Stop and re-start the Database Control after the above:

cd <DB_ORACLE_HOME>/bin
emctl stop dbconsole
emctl start dbconsole

5. Connect the Database Console from a browser and verify that the buttons show the correct text.

In 11.2.0.2 Database version, all the font files will be copied to the Database ORACLE_HOME, irrespective of the language chosen during the installation.

For Grid ControlThe Bug  is still under investigation. As a workaround, the steps listed above can be followed for Grid Console as well. The fonts are not expected to change for each software / version, hence follow these steps:

1. Using the above steps, extract the font files from any of the existing Database software.

2. Copy the files to the Grid Control home:

For 10.1 version, copy the files to <OMS_HOME>/jdk/jre/lib/fonts directory.
For 11.1 version, copy the files to <JDK1.6_HOME>/jre/lib/fonts directory.

3. Re-start the OMS:

cd <OMS_HOME>/bin
emctl stop oms
emctl start oms


4. Connect the Grid Console from a browser and verify that the buttons show the correct text.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP