[win7-oracle处理方法]--java.lang.Exception: Exception in sending Request :: null
(2012-02-12 19:31:03)
转载▼
标签: oracleit | 分类: JVCD一箩筐 |
刚装完 Oracle 10g,然后,进行em后,界面出来了,但报了一个错:
java.lang.Exception: Exception in sending Request :: null
很多功能不能用,提示重新登录
解决方案:找到下面的文件
$ORACLE_HOME\db_1\$HOSTNAME\sysman\config\emd.properties
其中的agentTZRegion缺省是GMT,改为你所在的时区即可,例如:
agentTZRegion=Asia/Chungking
关于时区的列表参考:10.2.0\db_1\sysman\admin\supportedtzs.lst
然后先停止 dbconsole 使时区设置生效并重启OracleDBConsole:
stop dbconsole
emctl resetTZ agent
emctl config agent getTZ
start dbconsole
cmd输入emctl stop dbconsole 发生错误
设置环境变量=》先设置环境变量ORACLE_SID
set oracle_sid=orcl
emctl stop dbconsole
emctl resetTZ agent
emctl config agent getTZ
emctl start dbconsole
OK搞定
当然很多童鞋还会出现另一种情况就是 resetTZ faild
遇到这种情况的童鞋也不必慌张,请再次修改properties文件的时区,因为调用resetTZ命令后若失败properties文件会被改写成GMT,请修改完后,停止dbconsole然后立即start dbconsole 即可解决。