SSH server fails to start on AWS EC2 instance
Symptoms
The following appears in the atlassian-bitbucket.log
:
java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity
...
... 195 frames trimmed
Cause
Amazon doesn't provide a full version of Java: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.7.0_51-b13
Workaround
Install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 package:
Resolution
Install a supported version of Java. Find the latest information on our Supported platforms page.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.