JIRA throws exception 'Could not initialize class javax.crypto.SunJCE_b'
Symptoms
- $BASE_URL/secure/* does not works
The following appears in the atlassian-jira.log
:
2012-06-21 08:58:50,005 http-xxx-3 ERROR admin 538x36x1 174e5bk xxx /secure/ViewProfile.jspa [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.SunJCE_b
Diagnosis
- $BASE_URL/secure/Dashboard.jspa does not work
- But $BASE_URL/browse/ISSUE_KEY works
Cause
There is problem loading the encryption libraries in the JVM.
Resolution
- Ensure that the following JAR files does exist in the JIRA's JRE or the JIRA_HOME's JRE:
- JRE/lib/security/local_policy.jar
- JRE/lib/security/US_export_policy.jar
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.