Upgrade to JIRA v6.3 Fails Due to Deprecated Interceptor Class
Symptoms
Upgrading to JIRA v6.3.x from JIRA v6.2.x or lower with a modified seraph-config.xml
file results in JIRA failing to start following the upgrade.
The following appears in the atlassian-jira.log
:
Could not getRequest service: com.atlassian.jira.user.preferences.UserPreferencesResetInterceptor : java.lang.ClassNotFoundException: com.atlassian.jira.user.preferences.UserPreferencesResetInterceptor
Cause
The following interceptor class is being carried over to JIRA v6.3.x from the previous version in the modified seraph-config.xml
:
<interceptors>
<interceptor class="com.atlassian.jira.user.preferences.UserPreferencesResetInterceptor"/>
</interceptors>
This interceptor class is no longer utilized in JIRA v6.3.x.
Resolution
- Stop JIRA
Remove/comment out the code block specified above at
$JIRA_INSTALL/atlassian-jira/WEB-INF/classes/seraph-config.xml
- Start JIRA