activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Jeanneau (JIRA)" <j...@activemq.org>
Subject [jira] Created: (AMQ-659) Text message format is incompatible between activemq and openwire .NET
Date Fri, 07 Apr 2006 15:39:22 GMT
Text message format is incompatible between activemq and openwire .NET
----------------------------------------------------------------------

         Key: AMQ-659
         URL: http://jira.activemq.org/jira//browse/AMQ-659
     Project: ActiveMQ
        Type: Bug

  Components: Broker  
    Versions: 4.0    
 Environment: - ActiveMQ Snapshot from 06-April
- Openwire .NET revision 392254 (Used on framework 1.1)
- Solaris 10 for activemq broker
    Reporter: Laurent Jeanneau


The class MarshallingSupport (from org.apache.activemq.util) is unmarshalling / marshalling
UTF8 strings containing the length coded as an integer at the beginning of the stream.

Unfortunately the strings marshalled by openwire do not contain any length at the beginning.
Decoding these strings result in a java.lang.OutOfMemoryError: Java heap space in activemq
(the first 4 bytes of the string are interpreted as a length resulting in a buffer overflow)

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


Mime
View raw message