Test to Production 12.2.1.1.0 pasteConfig Fails with 'ERROR - CLONE-20365'

(Doc ID 2360304.1)

Last updated on FEBRUARY 13, 2018

Applies to:

Oracle Fusion Middleware - Version 12.2.1.1.0 to 12.2.1.1.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

When attempting to run Test to Production's (T2P) pasteConfig to apply the Fusion Middleware configuration on the Target, the following error occurs.

The log CLONE<TimeStamp>_<Value>.error shows:

SEVERE : TimeStamp - ERROR - CLONE-20330 Execution of wlst script is not successful.
SEVERE : TimeStamp - CAUSE - CLONE-20330 An internal operation failed while executing <Temp Dir>\CLONINGCLIENT-<value>\update_packed_domain_template_<value>.py wlst script.
SEVERE : TimeStamp - ACTION - CLONE-20330 Check the clone log and error file for detailed information.
SEVERE : TimeStamp - ERROR - CLONE-20365 Error in executing WebLogic script while updating server, cluster , datasource , machine, and authenticator in packed domain template.
SEVERE : TimeStamp - CAUSE - CLONE-20365 The possible causes were :
1. The values specified in the move plan were not correct.
2. Some "READ_ONLY" properties in the move plan were modified.
3. Target Middleware Home was not valid.
4. Some internal operation failed.
SEVERE : TimeStamp - ACTION - CLONE-20365 Check the the clone log and error file for more details.
SEVERE : TimeStamp - SEVERE - CLONE-20937 "pasteConfig" operation of J2EE domain failed. Check the clone log and error files for more details.
SEVERE : TimeStamp - ERROR - CLONE-20218 Cloning is not successful.
SEVERE : TimeStamp - CAUSE - CLONE-20218 An internal operation failed.
SEVERE : TimeStamp - ACTION - CLONE-20218 Check the clone log and error file for detailed information.
oracle.as.t2p.sdk.model.exception.FMWT2PPasteConfigException: PasteConfig in offline mode failed.
    at oracle.as.t2p.framework.cloner.config.j2ee.J2EEComponentApplyCloner.doClone(J2EEComponentApplyCloner.java:320)
    at oracle.as.t2p.framework.cloner.Cloner.doFinalClone(Cloner.java:65)
    at oracle.as.t2p.framework.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:155)
    at oracle.as.t2p.framework.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:66)
    at oracle.as.t2p.framework.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:145)
    at oracle.as.t2p.framework.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:117)
    at oracle.as.t2p.framework.client.CloningClient.executeT2PCommand(CloningClient.java:274)
    at oracle.as.t2p.framework.client.CloningClient.main(CloningClient.java:120)



    
    
The log CLONE<TimeStamp>_<Value>.log shows:

INFO : TimeStamp PM - CLONE-23255   Updating domain template with target end points ...
FINE : TimeStamp PM - [GenericPasteConfigSteps:executeGenericPasteConfig] Executing <TempDir>\CLONINGCLIENT-<Value>\update_packed_domain_template_<Value>.py to update domain template ...
FINE : TimeStamp PM - [WLSTCommandUtil:executePyScript] Product directory for python script execution is : oracle_common and script file : <TempDir>\CLONINGCLIENT-<Value>\update_packed_domain_template_<Value>.py
FINE : TimeStamp PM - [ScriptNameEvalUtil:getScriptName] Trying to find wlst script name ...
FINE : TimeStamp PM - [WLSTCommandUtil:executePyScript] Script will be executed as oracle_common\common\bin\wlst.cmd <TempDir>\CLONINGCLIENT-<Value>\update_packed_domain_template_<Value>.py
FINE : TimeStamp PM - [CloneLogger:setSystemOutErrToCloneLogger] Invoking setSystemOutErrToCloneLogger 2
FINE : TimeStamp PM - [CloneLogger:setSystemOutErrToCloneLogger] System out and err is already set to Clone log file.
FINE : TimeStamp PM - [CommandInvokationUtil:executeCommand] Executing command oracle_common\common\bin\wlst.cmd <TempDir>\CLONINGCLIENT-<Value>\update_packed_domain_template_<Value>.py without providing any specific environment variable.

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Reading template <TempDir>\CLONINGCLIENT-<Value>\packed_domain.jar for updating configurations. It may take some time.

Error: readTemplateForUpdate() failed. Do dumpStack() to see details.
Error: runCmd() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
 File "<TempDir>\CLONINGCLIENT-<Value>\update_packed_domain_template_<Value>.py", line 372, in ?
 File "<TempDir>\WLSTOfflineIni<Value>.py", line 25, in readTemplateForUpdate
 File "<TempDir>\WLSTOfflineIni<Value>.py", line 19, in command
64041: Template "<TempDir>\CLONINGCLIENT-<Value>\packed_domain.jar" is not a valid jar file.
64041: Provide a valid template location.
64041: Invalid template.
64041: Template "<TempDir>\CLONINGCLIENT-<Value>\packed_domain.jar" is not a valid jar file.
64041: Provide a valid template location.

at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2666)
at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:698)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: 64041: Invalid template.
64041: Template "<TempDir>\CLONINGCLIENT-<Value>\packed_domain.jar" is not a valid jar file.
64041: Provide a valid template location.
64041: Invalid template.
64041: Template "<TempDir>\CLONINGCLIENT-<Value>\packed_domain.jar" is not a valid jar file.
64041: Provide a valid template location.

FINE : TimeStamp - [WLSTCommandUtil:executePyScript] Error while executing the wlst script <TempDir>\CLONINGCLIENT-<Value>\update_packed_domain_template_<Value>.py
FINE : TimeStamp - CLONE-22042   Path represented by "<TempDir>\CLONINGCLIENT-<Value>\wlst_error_log.txt" did not exist.
FINE : TimeStamp - [CloneLogger:unSetSystemOutErrToCloneLogger] Invoking unsetSystemOutErrToCloneLogger 1
FINE : TimeStamp - [DBUtil:closeJDBCConnections] Clearing jdbc connections list...
INFO : TimeStamp - CLONE-21207  
---------------------------------------------------
              T2P Summary Begin
---------------------------------------------------
Error Message  :1
 TimeStamp - ERROR - CLONE-20330  Execution of wlst script is not successful.
 TimeStamp - CAUSE - CLONE-20330  An internal operation failed while executing <TempDir>\CLONINGCLIENT-<Value>\update_packed_domain_template_<Value>.py wlst script.
 TimeStamp - ACTION - CLONE-20330  Check the clone log and error file for detailed information.
Error Message  :2
 TimeStamp - ERROR - CLONE-20365  Error in executing WebLogic script while updating server, cluster , datasource , machine, and authenticator in packed domain template.
 TimeStamp - CAUSE - CLONE-20365  The possible causes were :
1. The values specified in the move plan were not correct.
2. Some "READ_ONLY" properties in the move plan were modified.
3. Target Middleware Home was not valid.
4. Some internal operation failed.
 TimeStamp - ACTION - CLONE-20365  Check the the clone log and error file for more details.
Error Message  :3
 TimeStamp - SEVERE - CLONE-20937  "pasteConfig" operation of J2EE domain failed. Check the clone log and error files for more details.
Error Message  :4
 TimeStamp - ERROR - CLONE-20218   Cloning is not successful.
 TimeStamp - CAUSE - CLONE-20218   An internal operation failed.
 TimeStamp - ACTION - CLONE-20218   Check the clone log and error file for detailed information.



---------------------------------------------------
              T2P Summary End
---------------------------------------------------

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms