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

Old Web Admin console does not manage - new parameter messageTTL consumerTTL connections.jsp and connections Panel display error messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 5.9.0
    • 5.9.1, 5.10.0
    • Web Console
    • None
    • CentOS release 6.4 (Final)

      java version "1.6.0_45"
      Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
      Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

    • Patch Available
    • Regression

    Description

      2014-01-29 13:03:31,358 | WARN | /admin/connections.jsp | org.eclipse.jetty.servlet.ServletHandler | qtp1721309039-46
      javax.el.PropertyNotFoundException: The class 'com.sun.proxy.$Proxy7' does not have the property 'networkTTL'.
      at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:579)
      at javax.el.BeanELResolver.getValue(BeanELResolver.java:281)
      at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
      at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
      at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
      at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001)
      at org.apache.jsp.connections_jsp._jspx_meth_c_forEach_1(org.apache.jsp.connections_jsp:213)
      at org.apache.jsp.connections_jsp._jspService(org.apache.jsp.connections_jsp:95)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      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)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1320)
      at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      at org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:45)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      at org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:102)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
      at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:443)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:521)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)

      This template seems to work :

      <table id="connections" class="sortable autostripe">
      <thead>
      <tr>
      <th>Name</th>
      <th>Message TTL</th>
      <th>Consumer TTL</th>
      <th>Dynamic Only</th>
      <th>Conduit Subscriptions</th>
      <th>Bridge Temps</th>
      <th>Decrease Priorities</th>
      <th>Dispatch Async</th>
      </tr>
      </thead>
      <tbody>
      <c:forEach items="${requestContext.brokerQuery.networkConnectors}" var="nc">
      <tr>
      <td>${nc.name}</td>
      <td>${nc.messageTTL}</td>
      <td>${nc.consumerTTL}</td>
      <td>${nc.dynamicOnly}</td>
      <td>${nc.conduitSubscriptions}</td>
      <td>${nc.bridgeTempDestinations}</td>
      <td>${nc.decreaseNetworkConsumerPriority}</td>
      <td>${nc.dispatchAsync}</td>
      </tr>

      Attachments

        1. connections.patch
          0.7 kB
          Guilhem RAMBAL

        Issue Links

          Activity

            People

              artnaseef Arthur Naseef
              grambal Guilhem RAMBAL
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: