Artifactory (6.x) fails to start after patching Java 8

Ino Choi
2021-11-03 16:01

Relevant Versions: Artifactory 6.11 and above. Not relevant for Artifactory 7.x.

With the Java 8 GA release – 8u292-b10 (1.8.0_292), you may experience Artifactory failing to start up with the following error,

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'accessImporterExporterImpl': Unsatisfied dependency expressed through method 'setServerBootstrap' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accessServerBootstrapImpl': Invocation of init method failed; nested exception is java.lang.RuntimeException: Key protection  algorithm not found: Encrypt Private Key failed: unrecognized algorithm name: PBEWithSHA1AndDESede 

This is a known issue with Java version “1.8.0_292”. You may refer to the links below that illustrate the issue in detail.

To overcome this issue, you may choose the following options.

  • Roll back to the previous stable version of JDK 8 – 8u282-b08 (1.8.0_282)
  • Upgrade to the JDK 11 version