Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: A-MQ 7.0.0.ER17
    • Fix Version/s: A-MQ 7.0.0.ER18
    • Component/s: None
    • Labels:
    • Environment:
    • Target Release:
    • Steps to Reproduce:
      Hide
      1. Create instance
        artemis create --user admin --password admin --role amq --allow-anonymous --autocreate --http-host 0.0.0.0 --http-port 8161 --cluster-user admin --cluster-password admin /opt/ER17-hawtio
        
      2. Start broker instance /opt/ER17-hawtio/bin/artemis start
      3. Open Browser on <IP>:8161/hawtio
      4. login admin:admin
      5. Create test address under Artemis (Multicast, Anycast, Both)
      6. Create test queue in address (Multicast, Anycast)
      7. In tests queue -> Operations -> Browse() -> Execute()
      • Get empty list = []
      1. In test queue -> Send - type:Plaintext, content: ABCD
        OR use client (python aac5_sender.py --msg-content="ABCD" --broker-url=127.0.0.1:5672/client_test_queue)
      2. In tests queue -> Operations -> Browse() -> Execute()
      • Get exception [more in Description]
      Show
      Create instance artemis create --user admin --password admin --role amq --allow-anonymous --autocreate --http-host 0.0.0.0 --http-port 8161 --cluster-user admin --cluster-password admin /opt/ER17-hawtio Start broker instance /opt/ER17-hawtio/bin/artemis start Open Browser on <IP>:8161/hawtio login admin:admin Create test address under Artemis (Multicast, Anycast, Both) Create test queue in address (Multicast, Anycast) In tests queue -> Operations -> Browse() -> Execute() Get empty list = [] In test queue -> Send - type:Plaintext, content: ABCD OR use client (python aac5_sender.py --msg-content="ABCD" --broker-url=127.0.0.1:5672/client_test_queue) In tests queue -> Operations -> Browse() -> Execute() Get exception [more in Description]

      Description

      I try debug why I cant browse messages in queue, so there is results.
      Please follow Steps to Reproduce..

      When I follow steps to reproduce, i get (in Chrome 57.0.2987.115 browser):

      javax.management.openmbean.OpenDataException: Item names do not match CompositeType: names in items but not in CompositeType: [BodyPreview]; names in CompositeType but not in items: []
          at javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:220)
          at javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:176)
          at org.apache.activemq.artemis.core.management.impl.openmbean.OpenTypeSupport.convert(OpenTypeSupport.java:66)
          at org.apache.activemq.artemis.core.management.impl.QueueControlImpl.browse(QueueControlImpl.java:934)
          at org.apache.activemq.artemis.core.management.impl.QueueControlImpl.browse(QueueControlImpl.java:917)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
          at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
          at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
          at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
          at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
          at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
          at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
          at javax.management.StandardMBean.invoke(StandardMBean.java:405)
          at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
          at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
          at org.jolokia.handler.ExecHandler.doHandleRequest(ExecHandler.java:98)
          at org.jolokia.handler.ExecHandler.doHandleRequest(ExecHandler.java:40)
          at org.jolokia.handler.JsonRequestHandler.handleRequest(JsonRequestHandler.java:89)
          at org.jolokia.backend.MBeanServerExecutorLocal.handleRequest(MBeanServerExecutorLocal.java:109)
          at org.jolokia.backend.MBeanServerHandler.dispatchRequest(MBeanServerHandler.java:159)
          at org.jolokia.backend.LocalRequestDispatcher.dispatchRequest(LocalRequestDispatcher.java:99)
          at org.jolokia.backend.BackendManager.callRequestDispatcher(BackendManager.java:411)
          at org.jolokia.backend.BackendManager.handleRequest(BackendManager.java:158)
          at org.jolokia.http.HttpRequestHandler.executeRequest(HttpRequestHandler.java:197)
          at org.jolokia.http.HttpRequestHandler.handlePostRequest(HttpRequestHandler.java:137)
          at org.jolokia.http.AgentServlet$3.handleRequest(AgentServlet.java:420)
          at org.jolokia.http.AgentServlet.handleSecurely(AgentServlet.java:313)
          at org.jolokia.http.AgentServlet.handle(AgentServlet.java:284)
          at org.jolokia.http.AgentServlet.doPost(AgentServlet.java:252)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:838)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1560)
          at io.hawt.web.AuthenticationFilter$2.run(AuthenticationFilter.java:166)
          at java.security.AccessController.doPrivileged(Native Method)
          at javax.security.auth.Subject.doAs(Subject.java:422)
          at io.hawt.web.AuthenticationFilter.executeAs(AuthenticationFilter.java:163)
          at io.hawt.web.AuthenticationFilter.doFilter(AuthenticationFilter.java:130)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1547)
          at io.hawt.web.CORSFilter.doFilter(CORSFilter.java:42)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1547)
          at io.hawt.web.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:28)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1547)
          at io.hawt.web.SessionExpiryFilter.process(SessionExpiryFilter.java:148)
          at io.hawt.web.SessionExpiryFilter.doFilter(SessionExpiryFilter.java:46)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1539)
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1589)
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1213)
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:486)
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1552)
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1126)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
          at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.eclipse.jetty.server.Server.handle(Server.java:549)
          at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
          at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:254)
          at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:269)
          at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:97)
          at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
          at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:90)
          at org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy.invoke(ExecutingExecutionStrategy.java:58)
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:201)
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:133)
          at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
          at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
          at java.lang.Thread.run(Thread.java:745)
      

      After this I try use client to consume message and again use Operations -> Browse() -> Execute() and I get again empty list [].

      So problem is probably somewhere in handle msgs from the JMX.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ataylor Andy Taylor
                  Reporter:
                  dlenoch Dominik Lenoch
                  Tester:
                  Dominik Lenoch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: