JIRA throws exception 'Could not initialize class javax.crypto.SunJCE_b'

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

  1. $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

  1. $BASE_URL/secure/Dashboard.jspa does not work
  2. But $BASE_URL/browse/ISSUE_KEY works

Cause

There is problem loading the encryption libraries in the JVM.

Resolution

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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.