My Oracle Support Banner

FMW Installation & Configuration fails with JDK1.7 with error: java.lang.ExceptionInInitializerError (Doc ID 1626385.1)

Last updated on OCTOBER 09, 2018

Applies to:

Oracle Fusion Middleware - Version 11.1.1.7.0 to 11.1.1.8.0 [Release Oracle11g]
Information in this document applies to any platform.
The problem can affect to any Oracle Fusion Middleware Installation like Forms&Reports, Identity Management versions 11.1.2.x or 11.1.1.7 onwards.
Can be reproduced in Silent mode or GUI Mode Installation.

This note shows an example for a Forms and Reports Installation.

Symptoms


Oracle Fusion Middleware 11.1.2.2.0, 11.1.1.7
Platform: Oracle Linux 6 x86-64
Oracle Weblogic Server 10.3.6
Java Hotspot  : 1.7_51

Doing an Fusion Middleware Installation & Configuration with '-jreloc' parameter, example:

runInstaller -jreLoc /media/software/oracle/product/java/hotspot-7u51/jre


the process fails creating the Instance with the following error in the installation log file:

[2014-02-14T09:48:58.521+01:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 240] [ecid: 0000KGj^64uFCCHayt7i6G1IzTKc00000Z,0] [[
java.lang.ExceptionInInitializerError
at javax.crypto.Mac.getInstance(Mac.java:171)
at oracle.security.crypto.cert.PKCS12.computeMAC(PKCS12.java:299)
at oracle.security.crypto.cert.PKCS12.verify(PKCS12.java:402)
at oracle.security.pki.OracleKeyStoreSpi.engineLoad(Unknown Source)
at java.security.KeyStore.load(KeyStore.java:1214)
at oracle.security.pki.OracleWallet.getKeyStore(Unknown Source)
at oracle.security.pki.OracleWallet.createSSO(Unknown Source)
at oracle.as.config.utl.FileUtil.createSelfSignedOracleWallet(FileUtil.java:711)
at oracle.as.config.utl.FileUtil.generateWallet(FileUtil.java:633)
at oracle.as.config.utl.FileUtil.generateWallet(FileUtil.java:669)
at oracle.as.config.utl.FileUtil.generateWallet(FileUtil.java:560)
at oracle.as.config.impl.OpmnProvisioner.generateWallet(OpmnProvisioner.java:70)
at oracle.as.config.impl.OpmnProvisioner.createOpmnConfiguration(OpmnProvisioner.java:366)
at oracle.as.config.impl.OracleASInstanceImpl.createOpmnConfiguration(OracleASInstanceImpl.java:654)
at oracle.as.config.impl.OracleASInstanceImpl.create(OracleASInstanceImpl.java:108)
at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:249)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:523)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:439)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
at oracle.as.install.classic.ca.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:218)
at oracle.as.install.classic.ca.standard.StandaloneTool.execute(StandaloneTool.java:50)
at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:375)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:96)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:186)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
at javax.crypto.JceSecurity.(JceSecurity.java:86)
... 34 more
Caused by: java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer!

 

Changes

The issue is not reproduced using Java version hotspot 1.6u41

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.