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

Exception when try to browse ActiveMQBlobMessage via JMX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3.1, 5.3.2, 5.4.0, 5.4.1
    • 5.4.2
    • JMX
    • None

    Description

      Unable to browse ActiveMQBlobMessages via JMX

      WARN 09:39:13,383 | org.apache.activemq.broker.jmx.DestinationViewMBean | excep
      tion browsing destination
      javax.management.openmbean.OpenDataException: Cannot create a CompositeData for
      type: org.apache.activemq.command.ActiveMQBlobMessage
      at org.apache.activemq.broker.jmx.OpenTypeSupport.convert(OpenTypeSuppor
      t.java:481)
      at org.apache.activemq.broker.jmx.DestinationView.browse(DestinationView
      .java:157)
      at org.apache.activemq.broker.jmx.DestinationView.browse(DestinationView
      .java:138)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMB
      eanIntrospector.java:93)
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMB
      eanIntrospector.java:27)
      at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.j
      ava:208)
      at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
      at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
      at javax.management.StandardMBean.invoke(StandardMBean.java:391)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
      BeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761
      )
      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnecti
      onImpl.java:1426)
      at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectio
      nImpl.java:72)
      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run
      (RMIConnectionImpl.java:1264)
      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(R
      MIConnectionImpl.java:1359)
      at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImp
      l.java:788)
      at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
      at sun.rmi.transport.Transport$1.run(Transport.java:159)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:5
      35)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTranspor
      t.java:790)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
      .java:649)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
      at java.lang.Thread.run(Thread.java:619)

      Attachments

        1. ACTIVEMQ-3029.diff
          3 kB
          Norman Maurer
        2. ACTIVEMQ-3029-with-test.diff
          7 kB
          Norman Maurer

        Activity

          People

            gtully Gary Tully
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: