JIRA is not accessible after installing or updating the JavaMelody plugin

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

JIRA is not accessible after installing or updating the JavaMelody plugin.

The following exception is displayed while accessing JIRA, which is also visible in the logs:



2015-04-24 14:50:19,395 http-bio-8641-exec-12 ERROR anonymous 890x29x1 a4gxb8 0:0:0:0:0:0:0:1 /secure/Dashboard.jspa [jira.web.filters.CommittedResponseHtmlErrorRecoveryFilter] Exception occurred after HTTP response was already committed: java.lang.IllegalStateException: getOutputStream() does not support decorators
org.apache.jasper.JasperException: java.lang.IllegalStateException: getOutputStream() does not support decorators
	at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:465)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	(...)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.IllegalStateException: getOutputStream() does not support decorators
	at com.atlassian.jira.web.filters.pagebuilder.PageBuilderResponseWrapper.getOutputStream(PageBuilderResponseWrapper.java:79)
	at com.opensymphony.module.sitemesh.filter.PageResponseWrapper$4.create(PageResponseWrapper.java:105)
	at com.opensymphony.module.sitemesh.filter.RoutableServletOutputStream.getDestination(RoutableServletOutputStream.java:35)
	at com.opensymphony.module.sitemesh.filter.RoutableServletOutputStream.write(RoutableServletOutputStream.java:118)
	at net.bull.javamelody.FilterServletOutputStream.write(FilterServletOutputStream.java:83)
	at net.bull.javamelody.CounterResponseStream.write(CounterResponseStream.java:82)
	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
	at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
	at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
	at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
	at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
	at java.io.PrintWriter.flush(PrintWriter.java:320)
	at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:179)
	at org.apache.jsp.secure.views.dashboard_jsp._jspService(dashboard_jsp.java:97)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	... 242 more

原因

This problem may happen if the wrong JAR file from JavaMelody was installed (e.g. javamelody-<version>.jar instead of jira-javamelody-<version>.jar).

ソリューション

  1. Jira を停止します。
  2. Remove the wrong JAR file from the $JIRA_INSTALL/atlassian-jira/WEB-INF/lib/ folder.
  3. Download the correct JAR file from the vendor website (jira-javamelody-<version>.jar).

  4. Move the correct JAR file to the $JIRA_INSTALL/atlassian-jira/WEB-INF/lib/ folder and start JIRA.

最終更新日 2017 年 9 月 12 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.