Adop Phase=prepare Failed with Error "java.lang.SecurityException"

(Doc ID 2055246.1)

Last updated on MAY 20, 2016

Applies to:

Oracle Applications DBA - Version 12.2.4 to 12.2.4 [Release 12.2Cloud]
Information in this document applies to any platform.


On Oracle Applications 12.2.4, adop phase=prepare failed with the following error:

Exception in thread "main" java.lang.ExceptionInInitializerError
  at javax.crypto.Cipher.getInstance(
  at Source)
  at Source)
  at oracle.jdbc.driver.T4CTTIoauthenticate.marshalOauth(
  at oracle.jdbc.driver.T4CConnection.logon(
  at oracle.jdbc.driver.PhysicalConnection.<init>(
  at oracle.jdbc.driver.T4CConnection.<init>(
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(
  at oracle.jdbc.driver.OracleDriver.connect(
  at java.sql.DriverManager.getConnection(
  at java.sql.DriverManager.getConnection(
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
  at javax.crypto.JceSecurity.<clinit>(
  ... 17 more
Caused by: java.lang.SecurityException: Cannot locate policy or framework files!
  at javax.crypto.JceSecurity.setupJurisdictionPolicies(
  at javax.crypto.JceSecurity.access$000(
  at javax.crypto.JceSecurity$

The issue can be reproduced at will with the following steps:
1. Ran: adop phase=prepare
2. It failed with the error above.

The issue has the following business impact:
Cannot apply patch


 Instance created by rapidclone.


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