ITPub博客

首页 > Linux操作系统 > Linux操作系统 > java.lang.Exception: Exception in sending Request :: null

java.lang.Exception: Exception in sending Request :: null

原创 Linux操作系统 作者:flyingslr 时间:2008-08-04 15:44:16 0 删除 编辑

oracle 10g 控制台   sys/sys 登陆后  出现错误 :java.lang.Exception: Exception in sending Request :: null
MdrUH+FwD0参考http://blog.csdn.net/aqua_aqua/archive/2008/01/31/2074117.aspx  ;

Oracle 10G重建EM DB Control.ITPUB个人空间g6xG'_qY@
1.drop configuration files and repository run :
Uf/V@ B(_0emca -deconfig dbcontrol db -repos drop

2. Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and mangement objects:
6Nv*Z)Y-[t z \!d2o0a. drop user sysman cascade;ITPUB个人空间5_{7L2VX O6c
b. drop role MGMT_USER;ITPUB个人空间%[ \tN$k
c. drop user MGMT_VIEW cascade;
7f*F ^.a4pO"Y[wa0d. drop public synonym MGMT_TARGET_BLACKOUTS;ITPUB个人空间1WX-s,b(K7R1H U\
e. drop public synonym SETEMVIEWUSERCONTEXT;

3.Create configuration files and repository runITPUB个人空间1Zu!I:\.x_.w/s2u
emca -config dbcontrol db -repos create

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

然后,进行em后,界面出来了,但报了一个错:
P|5l1J#PsP&~o$E0java.lang.Exception: Exception in sending Request :: null

在Oracle论坛上查到了解决办法:ITPUB个人空间&|"eiet*y/s\x'o4L;E/K
http://forums.oracle.com/forums/thread.jspa?threadID=320574&tstart=0&messageID=1374397
S3FmjK ~0找到下面的文件
aD"U*Ah)pe]1M010.2.0\db_1\ZYKNET_ORC2\sysman\config\emd.propertiesITPUB个人空间T^L?{g [%J
其中的agentTZRegion缺省是GMT,改为你所在的时区即可,例如:ITPUB个人空间A$qt!HKW%D
agentTZRegion=Asia/ChungkingITPUB个人空间:c{x#r:o[
关于时区的列表参考:10.2.0\db_1\sysman\admin\supportedtzs.lstITPUB个人空间D @}5Y'I rv,lD7Z)XR
然后,重启OracleDBConsole

注:此问题通过emctl status查看得知:由于安装过oracle,可能上次oracle sid与本次实例名不一致,通过set oracle sid解决之。


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10225874/viewspace-418887/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-07-15

  • 博文量
    44
  • 访问量
    87698