activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ireneshy <ireneson...@gmail.com>
Subject Getting IllegalAgrEception while Sending BlobMessage
Date Wed, 14 Apr 2010 03:11:57 GMT

Hi , 
I am trying a simple producer and consumer application for BlobMessage, it
works  fine for files of size 8 kb.But if I send file of size more than 64KB
, it throws an exception in the activemq console :

ERROR log                            - EXCEPTION 
java.lang.IllegalArgumentException 
        at java.nio.Buffer.position(Buffer.java:218) 
        at org.mortbay.io.nio.NIOBuffer.poke(NIOBuffer.java:142) 
        at org.mortbay.io.AbstractBuffer.put(AbstractBuffer.java:391) 
        at org.mortbay.jetty.HttpParser.reset(HttpParser.java:844) 
        at org.mortbay.jetty.HttpConnection.destroy(HttpConnection.java:131) 
        at
org.mortbay.jetty.AbstractConnector.connectionClosed(AbstractConnector.java:785) 
        at
org.mortbay.jetty.nio.SelectChannelConnector.access$100(SelectChannelConnector.java:64) 
        at
org.mortbay.jetty.nio.SelectChannelConnector$1.endPointClosed(SelectChannelConnector.java:92)

        at
org.mortbay.io.nio.SelectChannelEndPoint.doUpdateKey(SelectChannelEndPoint.java:382) 
        at
org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:337) 
        at
org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:166) 
        at
org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124) 
        at
org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:537) 

I've tried the code listed in the url:
http://old.nabble.com/Getting-IllegalAgrEception-while-Sending-BlobMessage-td17731668.html#a17731668

But got the same error. Who knows how to fix the problem?


-- 
View this message in context: http://old.nabble.com/Getting-IllegalAgrEception-while-Sending-BlobMessage-tp28237935p28237935.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message