Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2252122
  • 博文数量: 310
  • 博客积分: 6853
  • 博客等级: 准将
  • 技术积分: 2833
  • 用 户 组: 普通用户
  • 注册时间: 2005-08-04 16:41
文章分类

全部博文(310)

文章存档

2013年(17)

2012年(42)

2011年(76)

2010年(71)

2009年(99)

2007年(2)

2006年(1)

2005年(2)

分类: Oracle

2009-10-29 16:56:40

为了验证一个bug对性能的影响,对oracle 10g升级到10.2.0.4后,em不能使用了。现象是首页出现乱码(看起来像甲骨文)。

经过查询终于找到原因:

在升级后使用了安全策略,具体情况请查相关文档。

解决办法:

恢复文件: 10.2.0\db_2\oc4j\j2ee\OC4J_DBConsole_uivzw4mb_ORCL\config\http-web-site.xml

一般在升级时,都会对该文件进行备份。恢复备份的文件,重启em即可。

emctl status dbconsole


参考:

Opening OEM in Firefox produces a dialog box that says:
You have chosen to open console
which is a: application/octet-stream
Do you want to open or save to disk.

IE7 tries to display it as four box characters.

I encountered a simlar problm but with the OEM. After performing a clean install of 10.2.0.1 and applying th patch to 10.2.0.4 the OEM was returning the "application/octet-stream" message to Firefox and displaying as 4 square boxes in IE as described above. Fortunately/unfortunately I was the only person on our team seeing this behavior. I starting a file-by-file comparision of the files in my $ORACLE_HOME/oc4j/j2ee directory against a working copy from a co-workers installation.

I ended up fixing the problem by replacing my copy of $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_SID.Fully.Qualified.Com_sid\config\http-web-site.xml with his. I then rebooted and everything came up fine.

Below is a copy of the good and bad xml files:

"Good"


oracle.com/ias/dtds/web-site-9_04.dtd">






em" name="em" load-on-startup="true" root="/em"/>






"Bad"

oracle.com/ias/dtds/web-site-9_04.dtd">





em" name="em" load-on-startup="true" root="/em" shared="true" />




oracle\product\10.2.0\db_1/oc4j/j2ee/OC4J_DBConsole_SID.Fully.Qualified.com_sid/config/server/keystore.test" keystore-password="***" />


阅读(1815) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~