Category: | Bug report |
Priority: | High |
Status: | Feedback Requested |
Project: | Severity: | Major |
Resolution: | Open |
|
Component: | Reproducibility: | N/A |
Assigned to: |
Visualize.jsp crashes, when the MIME type of Javscript files is set to application/javascript.
Application Server: Tomcat 6.0.41 - OpenJDK 1.7.0_51
Caused by: java.lang.IllegalStateException
at org.apache.jasper.runtime.ServletResponseWrapperInclude.getOutputStream(ServletResponseWrapperInclude.java:63)
at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:884)
at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:422)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
at org.apache.jsp.WEB_002dINF.jsp.modules.visualize_jsp._jspx_meth_c_005fwhen_005f0(visualize_jsp.java:159)
at org.apache.jsp.WEB_002dINF.jsp.modules.visualize_jsp._jspx_meth_c_005fchoose_005f0(visualize_jsp.java:121)
at org.apache.jsp.WEB_002dINF.jsp.modules.visualize_jsp._jspService(visualize_jsp.java:76)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
... 114 more
3 Comments:
Visualize.js is a feature of the Pro version of JasperReports Server and support for it should be requested through the official channel/customer support.
Anyway, why would you want to set the mime type for javascript files?
Hi,
Anything new on this one?
Thanks,
Teodor
Hi,
Because the JSP module crashes otherwise .