Gary Tully created AMQ-4186:
-------------------------------
Summary: web-console xml views have duplicate contenttype headers
- jsp errors
Key: AMQ-4186
URL: https://issues.apache.org/jira/browse/AMQ-4186
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.8.0
Reporter: Gary Tully
Assignee: Gary Tully
Fix For: 5.8.0
with the latest dependencies we get:{code}
2012-11-22 12:20:52,678 | WARN | qtp2848306-261 | ServletHandler |
lipse.jetty.util.log.JavaUtilLog 70 | 121 - org.eclipse.jetty.util -
7.6.7.v20120910 | /activemqweb/xml/topics.jsp
org.apache.jasper.JasperException: /xml/topics.jsp(1,1) PWC5988: Page
directive: illegal to have multiple occurrences of contentType with different
values (old: text/html;charset=UTF-8, new: text/xml;charset=ISO-8859-1)
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:78)[143:org.ops4j.pax.web.pax-web-jsp:1.1.9]
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:373)[143:org.ops4j.pax.web.pax-web-jsp:1.1.9]
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:201)[143:org.ops4j.pax.web.pax-web-jsp:1.1.9]
at
org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:171)[143:org.ops4j.pax.web.pax-web-jsp:1.1.9]
at
org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:599)[143:org.ops4j.pax.web.pax-web-jsp:1.1.9]
at
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2291)[143:org.ops4j.pax.web.pax-web-jsp:1.1.9]
at
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2341)[143:org.ops4j.pax.web.pax-web-jsp:1.1.9]{code}
The duplicate contentyType directive seems to only error out with the current
jsp compiler.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira