为了验证一个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="***" />
阅读(1890) | 评论(0) | 转发(0) |