Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4186

web-console xml views have duplicate contenttype headers - jsp errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.8.0
    • 5.8.0
    • Broker
    • None

    Description

      with the latest dependencies we get:

      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]

      The duplicate contentyType directive seems to only error out with the current jsp compiler.

      Attachments

        Activity

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: