Thursday, 1 September 2011

Browse » Home » » » » JIRA Dashboard Fails to Display with Cannot Forward after Response has Been Committed Error

JIRA Dashboard Fails to Display with Cannot Forward after Response has Been Committed Error

Symptoms

The follow error appears when displaying the dashboard:
java.lang.IllegalStateException: Cannot forward after response has been committed
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:312)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
       at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:251)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Cause

This error usually starts appearing after JIRA has upgraded (especially in EAR/WAR instances), due to JIRA still referencing cached data in the old work directory. It is important to make sure that when uprading, JIRA is installed in a clean environment.

Resolution

  1. Stop JIRA
  2. Remove the work directory
    • JIRA standalone the work directory can be found in <install directory>/atlassian-jira-enterprise-4.1.2-standalone/work
    • EAR/WAR the work directory will be unique to your specific applications server.
  3. Restart JIRA.
JIRA will generate a new work directory upon startup. Make sure to set up a clean instance as outlined in Upgrading JIRA guide.
Advertisement:

No comments:

Post a Comment

Note: only a member of this blog may post a comment.