My Oracle Support Banner

Emcli Relocate_targets Internal Error For Ebs Databases (Doc ID 1490549.1)

Last updated on SEPTEMBER 02, 2021

Applies to:

Enterprise Manager for Oracle Database - Version 10.2.0.5 to 11.1.0.1 [Release 10.2 to 11.1]
Information in this document applies to any platform.

Symptoms

emcli relocate_targets -src_agent="sourcehost.<DOMAIN>:3873"  -dest_agent="targethost.<DOMAIN>:3873"  -target_name="dbnam"  -target_type=oracle_database  -copy_from_src  -force=yes

Internal Error: The EM CLI system has encountered an internal error. Details  have been added to the EM CLI log files.

This only happens with Ebs databases.

emcli.log
------------
Jan 25, 2012 2:48:27 PM oracle.sysman.emCLI.omsbrowser.DefaultCookieHandler log
INFO: Get Env Property ignore_cookies =null

Jan 25, 2012 2:48:27 PM oracle.sysman.emCLI.verb.RemoteVerb execute
SEVERE: java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Vector.java:431)
at oracle.sysman.emdrep.target.RelocateTarget.computeRelatedDuplicates(RelocateTarget.java:719)
at oracle.sysman.emdrep.target.RelocateTarget.relocateTargets(RelocateTarget.java:305)
at oracle.sysman.emdrep.target.RelocateTarget.relocateTargetCreate(RelocateTarget.java:649)
at oracle.sysman.emdrep.target.emcli.RelocateTargetsVerb.execute(RelocateTargetsVerb.java:241)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.