activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ireneshy <ireneson...@gmail.com>
Subject Re: Getting IllegalAgrEception while Sending BlobMessage
Date Thu, 29 Apr 2010 02:30:36 GMT

Hi,
     I've been waiting for weeks, is there anything wrong with my code? or
incorrect config?
     Looking forward to your early reply, Thanks a lot~!

Irene



Dejan Bosanac wrote:
> 
> Hi,
> 
> what version are you using and can you post your code?
> 
> Cheers
> --
> Dejan Bosanac - http://twitter.com/dejanb
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 
> 
> On Wed, Apr 14, 2010 at 5:11 AM, ireneshy <irenesonghy@gmail.com> wrote:
> 
>>
>> 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.
>>
>>
> 
> 
> -----
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 

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


Mime
View raw message