SSH server fails to start on AWS EC2 instance

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Was this helpful?

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