Clone failed 19c database.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Clone failed 19c database.

satish
Hi erman,

App version R12.2.5
Db version 19.17

We have did a tar of source home and copied to target. When we run adcfgclone dbTechStack fails with below error.Can you pls suggest us what could be wrong.

-bash-4.2$ perl adcfgclone.pl dbTechStack

 

                     Copyright (c) 2002, 2015 Oracle Corporation
                        Redwood Shores, California, USA

 

                        Oracle E-Business Suite Rapid Clone

 

                                 Version 12.2

 

                      adcfgclone Version 120.63.12020000.65

 

Enter the APPS password :

 

Running: Context clone...

 

Log file located at /u02/PRODDB/19cdbhome/appsutil/clone/bin/CloneContext_0829162426.log

 

Provide the values required for creation of the new Database Context file.

 

Target System Hostname (virtual or normal) [erpsupportdb] :

 

Target System Base Directory : /u02/PRODDB

 

Target Instance is RAC (y/n) [y] : n

 

Target System CDB Name : prodcdb2

 

Target System PDB Name : PRODDB

 

Role separation is supported y/n [n] ? :

 

Number of DATA_TOP's on the Target System [5] : 1

 

Target System DATA_TOP Directory 1 : /u02/PRODDB

 

Specify value for OSBACKUPDBA group [dba] :

 

Specify value for OSDGDBA group [dba] :

 

Specify value for OSKMDBA group [dba] :

 

Specify value for OSRACDBA group [dba] :

 

Target System RDBMS ORACLE_HOME Directory [/u02/PRODDB/19.0.0] : /u02/PRODDB/19cdbhome

 

Do you want to preserve the Display [localhost:10.0] (y/n)  : n

 

Target System Display [erpsupportdb:0.0] :

 

Do you want the target system to have the same port values as the source system (y/n) [y] ? : n

 

Target System Port Pool [0-99] : 7

 

Checking the port pool 7
done: Port Pool 7 is free
Report file located at /u02/PRODDB/19cdbhome/appsutil/temp/portpool.lst
The new database context file has been created :
  /u02/PRODDB/19cdbhome/appsutil/PRODDB_erpsupportdb.xml
Check Clone Context logfile /u02/PRODDB/19cdbhome/appsutil/clone/bin/CloneContext_0829162426.log for details.

 

Running Rapid Clone with command:

 

Running:
perl /u02/PRODDB/19cdbhome/appsutil/clone/bin/adclone.pl java=/u02/PRODDB/19cdbhome/appsutil/clone/bin/../jre mode=apply stage=/u02/PRODDB/19cdbhome/appsutil/clone component=dbTechStack method=CUSTOM dbctxtg=/u02/PRODDB/19cdbhome/appsutil/PRODDB_erpsupportdb.xml showProgress contextValidated=true

 

 

Beginning rdbms home Apply - Tue Aug 29 16:25:44 2023

 

/u02/PRODDB/19cdbhome/appsutil/clone/bin/../jre/bin/java -Xmx600M -Doracle.jdbc.autoCommitSpecCompliant=false -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u02/PRODDB/19cdbhome/oui -classpath /u02/PRODDB/19cdbhome/appsutil/clone/jlib/xmlparserv2.jar:/u02/PRODDB/19cdbhome/appsutil/clone/jlib/ojdbc8.jar:/u02/PRODDB/19cdbhome/appsutil/clone/jlib/java:/u02/PRODDB/19cdbhome/appsutil/clone/jlib/oui/OraInstaller.jar:/u02/PRODDB/19cdbhome/appsutil/clone/jlib/oui/ewt3.jar:/u02/PRODDB/19cdbhome/appsutil/clone/jlib/oui/share.jar:/u02/PRODDB/19cdbhome/appsutil/clone/jlib/oui/srvm.jar:/u02/PRODDB/19cdbhome/appsutil/clone/jlib/ojmisc.jar   oracle.apps.ad.clone.ApplyDBTechStack -e /u02/PRODDB/19cdbhome/appsutil/PRODDB_erpsupportdb.xml -stage /u02/PRODDB/19cdbhome/appsutil/clone   -showProgress
APPS Password : Log file located at /u02/PRODDB/19cdbhome/appsutil/log/PRODDB_erpsupportdb/ApplyDBTechStack_08291625.log
  /      0% completed

 

RC-50004: Fatal: Error occurred in ApplyDBTechStack:

 

 

StackTrace -
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at oracle.apps.ad.clone.util.CloneProcessor.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.ExceptionInInitializerError
        at javax.crypto.JceSecurityManager.<clinit>(JceSecurityManager.java:65)
        at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2590)
        at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2614)
        at oracle.jdbc.driver.T4CConnection.<clinit>(T4CConnection.java:484)
        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:75)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:816)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:620)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:247)
        at oracle.apps.ad.util.DBUtil.getConnectionUsingSID(DBUtil.java:253)
        at oracle.apps.ad.util.DBUtil.getConnection(DBUtil.java:431)
        at oracle.apps.ad.util.DBUtil.getConnectionUsingAppsJDBCConnector(DBUtil.java:612)
        at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.getDBConnection(FileSysDBCtxMerge.java:844)
        at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.initializeParams(FileSysDBCtxMerge.java:157)
        at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.setParams(FileSysDBCtxMerge.java:138)
        at oracle.apps.ad.context.CtxValueMgt.mergeCustomInFiles(CtxValueMgt.java:1819)
        at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1635)
        at oracle.apps.ad.clone.ApplyDBTechStack.runCVM(ApplyDBTechStack.java:680)
        at oracle.apps.ad.clone.ApplyDBTechStack.runAutoConfig(ApplyDBTechStack.java:737)
        at oracle.apps.ad.clone.ApplyDBTechStack.doConf(ApplyDBTechStack.java:378)
        at oracle.apps.ad.clone.ApplyDBTechStack.doApply(ApplyDBTechStack.java:407)
        at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:322)
        ... 6 more
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
        at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:93)
        ... 28 more
Caused by: java.lang.SecurityException: The jurisdiction policy files are not signed by the expected signer! (Policy files are specific per major JDK release.Ensure the correct version is installed.)
        at javax.crypto.JarVerifier.verifyPolicySigned(JarVerifier.java:336)
        at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:378)
        at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:323)
        at javax.crypto.JceSecurity.access$000(JceSecurity.java:50)
        at javax.crypto.JceSecurity$1.run(JceSecurity.java:85)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:82)
        ... 28 more

 

 

ERROR while running Apply...
Tue Aug 29 16:30:43 2023

 

ERROR: Failed to execute /u02/PRODDB/19cdbhome/appsutil/clone/bin/adclone.pl

 

Please check logfile.
-bash-4.2$

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: Clone failed 19c database.

ErmanArslansOracleBlog
Administrator
This is addressed in " Adcfgclone.pl Fails With Can Not Initialize Cryptographic Mechanism (Doc ID 2959472.1)" Please follow the MOS note.