Unable browse messages from the ActiveMQ Web Console

Solution Verified - Updated -

Issue

  • I am unable to browse messages from the ActiveMQ Web Console
  • The following exception occurs when trying to browse messages from the ActiveMQ Web Console:
2013-09-03 08:24:54,453 | WARN  | tp1327959750-153 | ServletHandler                   | lipse.jetty.util.log.JavaUtilLog   70 | 75 - org.eclipse.jetty.util - 7.6.7.v20120910 | /activemqweb/browse.jsp
java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2367)[:1.7.0_09]
        at java.io.CharArrayWriter.write(CharArrayWriter.java:105)[:1.7.0_09]
        at java.io.PrintWriter.write(PrintWriter.java:426)[:1.7.0_09]
        at com.opensymphony.module.sitemesh.filter.RoutablePrintWriter.write(RoutablePrintWriter.java:144)[133:org.jboss.amq.mq-web-console:5.8.0.redhat-60024]
        at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:181)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:449)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:462)
        at org.apache.jsp.browse_jsp$browse_jspHelper.invoke0(org.apache.jsp.browse_jsp:351)
        at org.apache.jsp.browse_jsp$browse_jspHelper.invoke(org.apache.jsp.browse_jsp:399)
        at org.apache.jsp.tag.web.jms.forEachMessage_tag.doTag(org.apache.jsp.tag.web.jms.forEachMessage_tag:85)
        at org.apache.jsp.browse_jsp._jspx_meth_jms_forEachMessage_0(org.apache.jsp.browse_jsp:133)
        at org.apache.jsp.browse_jsp._jspService(org.apache.jsp.browse_jsp:72)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)[72:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.2]
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)[72:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.2]
        at org.ops4j.pax.web.jsp.JspServletWrapper$2.call(JspServletWrapper.java:132)
        at org.ops4j.pax.web.jsp.JspServletWrapper$2.call(JspServletWrapper.java:127)
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)
        at org.ops4j.pax.web.jsp.JspServletWrapper.service(JspServletWrapper.java:124)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329)
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)[133:org.jboss.amq.mq-web-console:5.8.0.redhat-60024]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)[133:org.jboss.amq.mq-web-console:5.8.0.redhat-60024]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
        at org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:45)[133:org.jboss.amq.mq-web-console:5.8.0.redhat-60024]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
        at org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:102)[133:org.jboss.amq.mq-web-console:5.8.0.redhat-60024]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)[133:org.jboss.amq.mq-web-console:5.8.0.redhat-60024]

Environment

  • Red Hat JBoss A-MQ
    • 6.0
  • ActiveMQ
    • 5.8.0-redhat-60024

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content