You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/04/01 08:38:00 UTC

[jira] [Resolved] (AMQ-7293) Activemq console error on browse queues

     [ https://issues.apache.org/jira/browse/AMQ-7293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved AMQ-7293.
---------------------------------------
    Fix Version/s:     (was: 5.16.2)
                       (was: 5.15.15)
       Resolution: Not A Problem

Please, use JDK 8 with ActiveMQ 5.15.x.

If you want to use JDK 11, you have to update to ActiveMQ 5.16.x.

> Activemq console error on browse queues
> ---------------------------------------
>
>                 Key: AMQ-7293
>                 URL: https://issues.apache.org/jira/browse/AMQ-7293
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: 5.15.8
>            Reporter: Giorgio Traldi
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>         Attachments: activemq_browse_queue_error.png
>
>
> In Activemq Web Console when browse queues got attached error, it happens sometimes after few days server's running.
> !activemq_browse_queue_error.png!
>  
> In {{activemq.log}} has been reported following exception:
>  
> {code:title=activemq.log|borderStyle=solid}
> ...
> 2019-08-28 15:24:48,982 | WARN  |  | org.eclipse.jetty.servlet.ServletHandler | qtp578226468-7214444
> org.apache.jasper.JasperException: Unable to compile class for JSP:
> An error occurred at line: 77 in the jsp file: /queues.jsp
> org.apache.jsp.tag.web.form.tooltip_tag cannot be resolved to a type
> 74:
> 75: <tr>
> 76: <td><a href="<c:url value="browse.jsp">
> 77:                         <c:param name="JMSDestination" value="${row.name}" /></c:url>"><form:tooltip text="${row.name}" length="50"/></a></td>
> 78: <td><c:out value="${row.queueSize}" /></td>
> 79: <td><c:out value="${row.consumerCount}" /></td>
> 80: <td><c:out value="${row.enqueueCount}" /></td>
> An error occurred at line: 77 in the jsp file: /queues.jsp
> org.apache.jsp.tag.web.form.tooltip_tag cannot be resolved to a type
> 74:
> 75: <tr>
> 76: <td><a href="<c:url value="browse.jsp">
> 77:                         <c:param name="JMSDestination" value="${row.name}" /></c:url>"><form:tooltip text="${row.name}" length="50"/></a></td>
> 78: <td><c:out value="${row.queueSize}" /></td>
> 79: <td><c:out value="${row.consumerCount}" /></td>
> 80: <td><c:out value="${row.enqueueCount}" /></td>
> An error occurred at line: 89 in the jsp file: /queues.jsp
> org.apache.jsp.tag.web.form.escape_tag cannot be resolved to a type
> 86:                     <c:param name="JMSDestination" value="${row.name}" /></c:url>">Active Consumers</a><br/>
> 87:     <a href="<c:url value="queueProducers.jsp">
> 88:                     <c:param name="JMSDestination" value="${row.name}" /></c:url>">Active Producers</a><br/>
> 89:     <a href="queueBrowse/<form:escape text="${row.name}" />?view=rss&feedType=atom_1.0" title="Atom 1.0"><img src="images/feed_atom.png"/></a>
> 90:     <a href="queueBrowse/<form:escape text="${row.name}" />?view=rss&feedType=rss_2.0" title="RSS 2.0"><img src="images/feed_rss.png"/></a>
> 91: </td>
> 92: <td>
> An error occurred at line: 89 in the jsp file: /queues.jsp
> org.apache.jsp.tag.web.form.escape_tag cannot be resolved to a type
> 86:                     <c:param name="JMSDestination" value="${row.name}" /></c:url>">Active Consumers</a><br/>
> 87:     <a href="<c:url value="queueProducers.jsp">
> 88:                     <c:param name="JMSDestination" value="${row.name}" /></c:url>">Active Producers</a><br/>
> 89:     <a href="queueBrowse/<form:escape text="${row.name}" />?view=rss&feedType=atom_1.0" title="Atom 1.0"><img src="images/feed_atom.png"/></a>
> 90:     <a href="queueBrowse/<form:escape text="${row.name}" />?view=rss&feedType=rss_2.0" title="RSS 2.0"><img src="images/feed_rss.png"/></a>
> 91: </td>
> 92: <td>
> An error occurred at line: 90 in the jsp file: /queues.jsp
> org.apache.jsp.tag.web.form.escape_tag cannot be resolved to a type
> 87:     <a href="<c:url value="queueProducers.jsp">
> 88:                     <c:param name="JMSDestination" value="${row.name}" /></c:url>">Active Producers</a><br/>
> 89:     <a href="queueBrowse/<form:escape text="${row.name}" />?view=rss&feedType=atom_1.0" title="Atom 1.0"><img src="images/feed_atom.png"/></a>
> 90:     <a href="queueBrowse/<form:escape text="${row.name}" />?view=rss&feedType=rss_2.0" title="RSS 2.0"><img src="images/feed_rss.png"/></a>
> 91: </td>
> 92: <td>
> 93:     <a href="<c:url value="send.jsp">
> An error occurred at line: 90 in the jsp file: /queues.jsp
> org.apache.jsp.tag.web.form.escape_tag cannot be resolved to a type
> 87:     <a href="<c:url value="queueProducers.jsp">
> 88:                     <c:param name="JMSDestination" value="${row.name}" /></c:url>">Active Producers</a><br/>
> 89:     <a href="queueBrowse/<form:escape text="${row.name}" />?view=rss&feedType=atom_1.0" title="Atom 1.0"><img src="images/feed_atom.png"/></a>
> 90:     <a href="queueBrowse/<form:escape text="${row.name}" />?view=rss&feedType=rss_2.0" title="RSS 2.0"><img src="images/feed_rss.png"/></a>
> 91: </td>
> 92: <td>
> 93:     <a href="<c:url value="send.jsp">
> Stacktrace:
>         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)[apache-jsp-8.0.33.jar:2.3]
>         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198)[apache-jsp-8.0.33.jar:2.3]
>         at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)[apache-jsp-8.0.33.jar:2.3]
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)[apache-jsp-8.0.33.jar:2.3]
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)[apache-jsp-8.0.33.jar:2.3]
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)[apache-jsp-8.0.33.jar:2.3]
>         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)[apache-jsp-8.0.33.jar:2.3]
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)[apache-jsp-8.0.33.jar:2.3]
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)[apache-jsp-8.0.33.jar:2.3]
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)[apache-jsp-8.0.33.jar:2.3]
>         at org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:107)[apache-jsp-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[tomcat-servlet-api-8.0.53.jar:]
>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:201)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)[spring-web-4.3.18.RELEASE.jar:4.3.18.RELEASE]
>         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.18.RELEASE.jar:4.3.18.RELEASE]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:45)[activemq-web-5.15.8.jar:5.15.8]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:102)[file:/app_activemq/home/activemq/apache-activemq-5.15.8/webapps/admin/WEB-INF/classes/:]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.Server.handle(Server.java:499)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[jetty-all-9.2.25.v20180606.jar:9.2.25.v20180606]
>         at java.lang.Thread.run(Thread.java:748)[:1.8.0_181]
> ...
> {code}
> Running on Centos 7.5
> {code}# uname -a
> Linux itviacvlq0019 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> # cat /etc/redhat-release 
> CentOS Linux release 7.5.1804 (Core){code}
> Activemq
> {code}
> $ ./activemq --version
> INFO: Loading '/app_activemq/home/activemq/apache-activemq-5.15.8//bin/env'
> INFO: Using java '../../jdk1.8.0_181/bin/java'
> Java Runtime: Oracle Corporation 1.8.0_181 /app_activemq/home/activemq/jdk1.8.0_181/jre
>  Heap sizes: current=63360k free=62311k max=1013632k
>  JVM args: -Xms64M -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/app_activemq/home/activemq/apache-activemq-5.15.8//conf/login.config -Dactivemq.classpath=/app_activemq/home/activemq/apache-activemq-5.15.8//conf:/app_activemq/home/activemq/apache-activemq-5.15.8//../lib/: -Dactivemq.home=/app_activemq/home/activemq/apache-activemq-5.15.8/ -Dactivemq.base=/app_activemq/home/activemq/apache-activemq-5.15.8/ -Dactivemq.conf=/app_activemq/home/activemq/apache-activemq-5.15.8//conf -Dactivemq.data=/app_activemq/home/activemq/apache-activemq-5.15.8//data
> Extensions classpath:
>  [/app_activemq/home/activemq/apache-activemq-5.15.8/lib,/app_activemq/home/activemq/apache-activemq-5.15.8/lib/camel,/app_activemq/home/activemq/apache-activemq-5.15.8/lib/optional,/app_activemq/home/activemq/apache-activemq-5.15.8/lib/web,/app_activemq/home/activemq/apache-activemq-5.15.8/lib/extra]
> ACTIVEMQ_HOME: /app_activemq/home/activemq/apache-activemq-5.15.8
> ACTIVEMQ_BASE: /app_activemq/home/activemq/apache-activemq-5.15.8
> ACTIVEMQ_CONF: /app_activemq/home/activemq/apache-activemq-5.15.8/conf
> ACTIVEMQ_DATA: /app_activemq/home/activemq/apache-activemq-5.15.8/data
> ActiveMQ 5.15.8
> For help or more information please see: http://activemq.apache.org
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)