[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] Created: (AMQ-665) Error while using management interface on
From:       "Bruce Mitchener (JIRA)" <jira () apache ! org>
Date:       2006-03-28 2:17:36
Message-ID: 1250885663.1143512256480.JavaMail.jira () ajax
[Download RAW message or body]

Error while using management interface on messages with binary data.
--------------------------------------------------------------------

         Key: AMQ-665
         URL: https://issues.apache.org/activemq/browse/AMQ-665
     Project: ActiveMQ
        Type: Bug

    Reporter: Bruce Mitchener
    Priority: Minor


I'm sending binary data through STOMP (with a content-length header).  When I go into \
jconsole and try to use 'browse' to view the message, I get this exception on the \
server side:

javax.management.openmbean.OpenDataException: Argument's element \
itemValues[7]="[B@40e1f305" is not a valid value for this item \
(itemName=BodyPreview,itemType=javax.management.openmbean.ArrayType(name=[Ljava.lang.B \
yte;,dimension=1,elementType=javax.management.openmbean.SimpleType(name=java.lang.Byte))).
                
        at javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:145)
                
        at javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:190)
                
        at org.apache.activemq.broker.jmx.OpenTypeSupport.convert(OpenTypeSupport.java:253)
                
        at org.apache.activemq.broker.jmx.DestinationView.browse(DestinationView.java:91)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
                
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
                
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
                
        at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
                
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
                
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1341)
                
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  at java.lang.Thread.run(Thread.java:595) 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic