Test to Production 12.2.1.2 copyConfig Errors with "Login Failed For An Unknown Reason: ^U^C^C^@^B^BP]"

(Doc ID 2353595.1)

Last updated on JANUARY 26, 2018

Applies to:

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

Symptoms

When attempting to use Test to Production's (T2P) copyConfig, the script fails to connection to the AdminServer with the following error.

INFO : Date/Time - CLONE-23270 Connecting to domain runtime ...
INFO : Date/Time - CLONE-23271 Trying to connect to hostname.domain:7002 ...
FINE : Date/Time - [WLSUtil:getSSLConnection_internal] Trying SSLConnection using protocol : t3s , hostName: hostname.domain , port : 7002 , username : weblogic , wlsServerHome :$ORACLE_HOME/wlserver , jmxPath: domainruntime , trustKeyStore : null
FINE : Date/Time - [WlsJmxConnectorImpl:] WlsJmxConnectorImpl : t3s: hostname.domain:7002:weblogic:$ORACLE_HOME/wlserver:domainruntime : null
FINE : Date/Time - [WLSUtil:getRunTimeMBeanServerConnection] Unable to get runtime and domainRuntime connection and error message is :Failed to initialize JNDI context, tried 2 time or times totally, the interval of each time is 0ms.
[Login failed for an unknown reason: ^U^C^C^@^B^BP]
...
---------------------------------------------------
              T2P Summary Begin
---------------------------------------------------
Error Message  :1
 Date/Time - ERROR - CLONE-20639   Connection to AdminServer failed.
 Date/Time - CAUSE - CLONE-20639   There are four possible causes:
1. Server might be down.
2. Credentials provided might be wrong.
3. If only SSL mode is enabled, provide value of "-trustKeyStoreLoc" parameter.
4. Administration port was enabled and that port was not provided.

 Date/Time - ACTION - CLONE-20639   Make sure server is running and credentials are valid. If SSL port is used, provide value of "trustKeyStoreLoc" and re-run "copyConfig".
Error Message  :2
 Date/Time - SEVERE - CLONE-20963  "copyConfig" operation of J2EE domain failed. Check the clone log and error files for more details.






Changes

 Command used to reproduce the issue:

$ORACLE_HOME/oracle_common/bin/copyConfig.sh \
-javaHome /refresh/jdk1.8.0_121 \
-archiveLoc /refresh/t2pwls.jar \
-sourceDomainLoc $ORACLE_HOME/user_projects/domains/base_domain \
-sourceOracleHomeLoc $ORACLE_HOME \
-domainHostName hostname.domain \
-domainPortNum 7002 \
-domainAdminUserName weblogic \
-domainAdminPasswordFile /refresh/password.txt \
-trustKeyStoreLoc $ORACLE_HOME/Trust.jks \
-debug true

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