Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-76246

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              92440d39958b Byron Conroy
              92440d39958b Byron Conroy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: