---
title: "oracle登录em报：java.lang.Exception: Exception in sending Request :: null"
author: "ttf177"
date: "2010-10-20T15:09:49Z"
tags: []
categories: ["数据库"]
slug: "oracle-em-java-lang-exception-exception-in-sending-request-null"
draft: false
lastmod: "2010-10-20T15:09:49Z"
id: 789594
url: "https://ttf177.iteye.com/blog/789594"
---

登录10g的em，报如上错误。方法：

找到下面的文件

$ORACLE\_HOME\\db\_1\\$HOSTNAME\\sysman\\config\\emd.properties

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

agentTZRegion=Asia/Shanghai

关于时区的列表参考：10.2.0\\db\_1\\sysman\\admin\\supportedtzs.lst

然后先停止 dbconsole 使时区设置生效并重启OracleDBConsole：

emctl stop dbconsole

emctl resetTZ agent

emctl config agent getTZ

emctl start dbconsole

注：执行完emctl resetTZ agent后，控制台提示诸如“resetTZ failed.”等信息，不用管，将这四条命令执行完，重新登录em即可打开。