My Oracle Support Banner

Adcfgclone.pl Fails With Can Not Initialize Cryptographic Mechanism (Doc ID 2959472.1)

Last updated on OCTOBER 03, 2024

Applies to:

Oracle Applications Manager - Version 12.2.11 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.11 version, Rapidclone

When attempting to run adcfgclone.pl
the following error occurs.

ERROR
-----------------------
We are in process of adding external node in EBS 12.2.11, but the adcfgclone.pl fails at the begging:
Exception in thread "main" java.lang.ExceptionInInitializerError
  at javax.crypto.Cipher.getInstance(Cipher.java:516)
  at oracle.security.o5logon.O5LoginClientHelper.decryptAES(Unknown Source)
  at oracle.security.o5logon.O5LoginClientHelper.generateOAuthResponse(Unknown Source)
  at oracle.jdbc.driver.T4CTTIoauthenticate.marshalOauth(T4CTTIoauthenticate.java:450)
  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:367)
  at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:508)
  at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:203)
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
  at java.sql.DriverManager.getConnection(DriverManager.java:571)
  at java.sql.DriverManager.getConnection(DriverManager.java:187)
  at oracle.apps.ad.util.DBUtil.getConnectionUsingServiceName(DBUtil.java:301)
  at oracle.apps.ad.util.DBUtil.getConnectionUsingServiceNameAndAppropriateDBHost(DBUtil.java:457)
  at oracle.apps.ad.util.DBUtil.getConnection(DBUtil.java:409)
  at oracle.apps.ad.util.DBUtil.getConnection(DBUtil.java:361)
  at oracle.apps.ad.context.CloneContext.checkDatabaseConnection(CloneContext.java:6911)
  at oracle.apps.ad.context.CloneContext.setDatabaseName(CloneContext.java:8188)
  at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:1071)
  at oracle.apps.ad.context.CloneContext.main(CloneContext.java:8993)
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
  at javax.crypto.JceSecurity.(JceSecurity.java:90)
  ... 19 more
Caused by: java.lang.SecurityException: The jurisdiction policy files are not signed by the expected signer! (Policy files are s



STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1.Cloning


2 adcfgclone.

Changes

 

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