Error Message After Log Off
Symptoms
In a JIRA EAR/WAR instance, the following stack trace is occurring after a user logs off:
javax.servlet.ServletException: java.lang.NoSuchMethodError:
com.atlassian.jira.security.JiraAuthenticationContext.setUser(Lcom/opensymphony/user/User;)V
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)
at org.apache.jsp.logout_jsp._jspService(logout_jsp.java:201)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
...
Caused by: java.lang.NoSuchMethodError:
com.atlassian.jira.security.JiraAuthenticationContext.setUser(Lcom/opensymphony/user/User;)V
at org.apache.jsp.logout_jsp._jspService(logout_jsp.java:186)
Cause
This error is related to the application server cache, which is trying to use an old/deprecated JSP page after a user logs off.
These JSP Files are compiled in the work directory and can become invalid after upgrades or various environmental changes (like a server migration), but are rebuilt upon startup if manually removed.
Workaround
- Stop JIRA
- Delete the contents of the
<JIRA_INST|CATALINA_BASE>/work
folder. - Verify the user running the JIRA application process has Read/Write permission to the
<JIRA_INST|CATALINA_BASE>/work
directory. - Start JIRA
Related Content
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.