Вы находитесь на странице: 1из 3

Document 1109114.

1 8/14/18, 5(19 PM

Copyright (c) 2018, Oracle. All rights reserved. Oracle Confidential.

"Error java.lang.Exception: Exception in sending Request :: null" when logging into 10.2.0.4
dbconsole (Doc ID 1109114.1)

In this Document

Symptoms
Changes
Cause
Solution
References

APPLIES TO:

Enterprise Manager Base Platform - Version 10.2.0.4 to 10.2.0.5 [Release 10.2]


Information in this document applies to any platform.

SYMPTOMS

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


message is returned, when logging into 10.2.0.4 dbconsole from the browser.

Logging into the database at sqlplus and issuing the following statements:-

select target_name from mgmt_targets where target_type='oracle_emd';


select emd_url from mgmt_targets where target_type='host';

return no rows, indicating that no host or agent targets have been discovered.

secure.log shows:-

[20-04-2010 23:26:20] USERINFO ::Copying the wallet for agent use...


[20-04-2010 23:26:20] USERINFO :: Done.
[20-04-2010 23:26:20] USERINFO ::Storing agent key in repository...
[20-04-2010 23:26:21] USERINFO :: Done.
[20-04-2010 23:26:21] USERINFO ::Storing agent key for agent ...
[main] ERROR sec.AgentKeyUtil - Exception while storing agent key to agent:
/u02/database/proddb/10.2.0/db/sysman/config/server/repoconn.ora (A file or directory in the path name does not
exist.)
[20-04-2010 23:26:21] USERINFO :: Failed.

The /u02 path does not exist on this machine


The home of the database is actually in /u01

CHANGES

The environment has been cloned from a production to a test environment.

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=c0qqx7wqv_200&id=1109114.1 Page 1 of 3
Document 1109114.1 8/14/18, 5(19 PM

CAUSE

The environment has been cloned from a production to a test environment.


Dbconsole was then dropped from the database on the new machine.
DBconsole was created afresh on the new machine.
However the errors in the secure.log show that somewhere, values from the old home are still being picked up. eg.

[20-04-2010 23:26:21] USERINFO ::Storing agent key for agent ...


[main] ERROR sec.AgentKeyUtil - Exception while storing agent key to agent:
/u02/database/proddb/10.2.0/db/sysman/config/server/repoconn.ora (A file or directory in the path name does not
exist.)
[20-04-2010 23:26:21] USERINFO :: Failed.

The /u02 path is referring to the 'old' home


The 'new' home is actually in /u01

This wrong information is coming from:-

$ORACLE_HOME\sysman\config\emomslogging.properties
$ORACLE_HOME\sysman\config\emd.properties.emca

Note:

It has been reported that 'old home' information may in addition also be found in

emd.properties
emoms.properties.emca

which both contain references to the old home. This means that when the console is dropped and re-created it is
again created with some wrong values because these files are still holding the old home entries.

SOLUTION

1) drop dbconsole

(remember, that this will quiesce the database)

emca -deconfig dbcontrol db -repos drop.

2) Edit the $ORACLE_HOME\sysman\config\emomslogging.properties and


$ORACLE_HOME\sysman\config\emd.properties.emca and rename all occurrences of the old home to the correct
home. Also check for 'old home' references in emd.properties and emoms.properties.emca and rename the references
accordingly.

re-create the console using:-

emca -config dbcontrol db -repos create

REFERENCES

NOTE:782004.1 - "java.lang.Exception: IOException in sending Request :: Connection refused: connect" on DBConsole


Home Page After Running emca -reconfig ports -AGENT_PORT

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=c0qqx7wqv_200&id=1109114.1 Page 2 of 3
Document 1109114.1 8/14/18, 5(19 PM

Didn't find what you are looking for?

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=c0qqx7wqv_200&id=1109114.1 Page 3 of 3

Вам также может понравиться