Error Message After Log Off
症状
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)
原因
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.
回避策
- 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. - Jira を起動します。
関連コンテンツ
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.