You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Andy Korth (JIRA)" <ji...@apache.org> on 2006/01/09 18:11:02 UTC

[jira] Created: (SYNAPSE-10) A ObjectSerializationEncoder that works with Java's ObjectInputStream.readObject()

A ObjectSerializationEncoder that works with Java's ObjectInputStream.readObject()
----------------------------------------------------------------------------------

         Key: SYNAPSE-10
         URL: http://issues.apache.org/jira/browse/SYNAPSE-10
     Project: Synapse
        Type: New Feature
    Reporter: Andy Korth
    Priority: Minor


Having a class similar to ObjectSerializationDecoder/Encoder that was compatable with ObjectInputStream.readObject() would be very helpful for those who are rewriting servers to use MINA without the ability to change client code. 

Currently, an attempt to use readObject() to receive information from the existing ObjectSerializationEncoder results in:
 org.apache.mina.filter.codec.ProtocolDecoderException: org.apache.mina.common.BufferDataException: dataLength: -1393754107 (Hexdump: empty)

I suspect this has something to do with the reading of the prefixed data.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


[jira] Commented: (SYNAPSE-10) A ObjectSerializationEncoder that works with Java's ObjectInputStream.readObject()

Posted by "Andy Korth (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/SYNAPSE-10?page=comments#action_12362220 ] 

Andy Korth commented on SYNAPSE-10:
-----------------------------------

My apologies, I had intended to report this on the MINA bug tracker.

> A ObjectSerializationEncoder that works with Java's ObjectInputStream.readObject()
> ----------------------------------------------------------------------------------
>
>          Key: SYNAPSE-10
>          URL: http://issues.apache.org/jira/browse/SYNAPSE-10
>      Project: Synapse
>         Type: New Feature
>     Reporter: Andy Korth
>     Priority: Minor

>
> Having a class similar to ObjectSerializationDecoder/Encoder that was compatable with ObjectInputStream.readObject() would be very helpful for those who are rewriting servers to use MINA without the ability to change client code. 
> Currently, an attempt to use readObject() to receive information from the existing ObjectSerializationEncoder results in:
>  org.apache.mina.filter.codec.ProtocolDecoderException: org.apache.mina.common.BufferDataException: dataLength: -1393754107 (Hexdump: empty)
> I suspect this has something to do with the reading of the prefixed data.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org