Oracle 10g java.lang.Exception: Exception in sending Request :: null

Oracle 10G重建EM DB Control

1.drop configuration files and repository run : 

    emca -deconfig dbcontrol db -repos drop

2. Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and mangement objects:

    a. drop user sysman cascade;
    b. drop role MGMT_USER;

    c. drop user MGMT_VIEW cascade;
    d. drop public synonym MGMT_TARGET_BLACKOUTS;

    e. drop public synonym SETEMVIEWUSERCONTEXT;

3.Create configuration files and repository run

    emca -config dbcontrol db -repos create

创建EM时,提示的端口号,应为实例的断口号,比如1521,不是EM的端口号(比如1158)EM的端口号在这个文件中可以查到10.2.0\db_1\sysman\config\emca.properties

然后,进行em后,界面出来了,但报了一个错:java.lang.Exception: Exception in sending Request :: null

很多功能不能用,提示重新登录

1

解决方案:找到下面的文件“$ORACLE_HOME\db_1\$HOSTNAME\sysman\config\emd.properties

其中的agentTZRegion缺省是GMT,改为你所在的时区即可,例如:

agentTZRegion=Asia/Shanghai

关于设置时区的列表参考:“10.2.0\db_1\sysman\admin\supportedtzs.lst

然后先停止dbconsole 在重启dbconsole :

set ORACLE_SID=orcl

emctl stop dbconsole

emctl start dbconsole

如以下截图:

2

重新登陆,OK!

db_home

posted @ 2009-06-04 16:45  木瓜脑袋  阅读(9413)  评论(1编辑  收藏  举报