Enabling "Encrypt passwords in server.xml" results in NoClassDefFoundError

XMLWordPrintable

    • 9.11
    • Severity 2 - Major

      Issue Summary

      This is reproducible on Data Center: yes

      Steps to Reproduce

      This bug only affects customers using password encryption in Tomcat

      1. Follow the instructions to configure password encryption in server.xml found here

      Expected Results

      Jira runs normally and can decrypt configuration in server.xml

      Actual Results

      Jira does not start.

      The below exception is thrown in the catalina.out file:

      java.lang.NoClassDefFoundError: com/atlassian/secrets/api/SecretStoreException
      at com.atlassian.secrets.tomcat.utils.DecryptionUtils.initPasswords(DecryptionUtils.java:21)

      Workaround

      1. Navigate to the <Jira-installation-directory> and execute the following command:

      cp atlassian-jira/WEB-INF/lib/atlassian-secrets-api-<version>.jar lib/

      2. Restart Jira.

            Assignee:
            Byron Conroy (Inactive)
            Reporter:
            Byron Conroy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: