My Oracle Support Banner

"java.Lang.Reflect.Invocationtargetexception" Error When Trying to Clone a Middleware Home Containing Webcenter Content (Doc ID 1347512.1)

Last updated on AUGUST 16, 2019

Applies to:

Oracle WebCenter Content - Version 11.1.1.2.0 to 11.1.1.5.0 [Release 11g]
Information in this document applies to any platform.

Goal

Following the documentation at http://download.oracle.com/docs/cd/E17904_01/core.1111/e10105/clone.htm#insertedID0, you are trying to clone a middleware home containing Webcenter Content (WCC) with this command:

K:\app\middletier\oracle_common\bin>pasteConfig.cmd -javaHome k:\app\java\jrockit-jdk1.6.0_22-R28.1.1-4.0.1 -archiveLoc k:\Clone\cconfig.jar -targetDomainLoc k:\app\middletier\user_projects\domains\DEV_WCUCM -targetMWHomeLoc k:\app\middletier -movePlanLoc k:\Clone\pclone\moveplan.xml -domainAdminPassword k:\Clone\p.txt -logDirLoc k:\Clone\log\



This is failing with an error:

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.management.scripting.utils.WLSTUtil.initOfflineContext(WLSTUtil.java:291)
at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:267)
at weblogic.management.scripting.utils.WLSTUtil.setupOffline

Solution

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
Goal
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.