SAP Knowledge Base Article - Preview

3191057 - java.lang.SecurityException: Can not initialize cryptographic mechanism - SRS

Symptom

Upgrade of Replication Server encountering JAVA error:

java.lang.SecurityException: Can not initialize cryptographic mechanism at javax.crypto.JceSecurity.clinit(JceSecurity.java:93)
at javax.crypto.Cipher.getInstance(Cipher.java:518)
at com.zerog.ia.licensing.EditionHelper.decryptFromStore(Unknown Source)
at com.zerog.ia.licensing.EditionHelper.determineEdition(Unknown Source)
at com.zerog.ia.installer.Installer.bf(Unknown Source)
at com.zerog.ia.installer.Installer.checkAuthorization(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.b4(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a8(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.au(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
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.(JceSecurity.java:82)
... 

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • SAP Replication Server (SRS) 16.0 SP04
  • Microsoft Windows

Product

SAP Replication Server 16.0

Keywords

RepServer, RS, setup.exe, installanywhere , KBA , BC-SYB-REP , Sybase Replication Server (standalone) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.