Re: BlobMessage Corruption in OpenJDK?

2010-03-13 Thread Marc Weil
Márcio, Yeah I'm quite sure it has something to do with an incompatibility of some sort between ActiveMQ and OpenJDK. To answer your question, yes I have tried it with the Sun JDK on both sides and it works perfectly. It also works when the client uses the Sun JDK and the server (where ActiveMQ is

Re: BlobMessage Corruption in OpenJDK?

2010-03-12 Thread Marc Weil
Márcio, I certainly am not appending those characters intentionally! I apologize if my first message made it seem like that was my doing. The stream is somehow getting corrupted and those characters are getting appended to the end of the transmitted data on the server side. That's the problem I'm

BlobMessage Corruption in OpenJDK?

2010-03-11 Thread Marc Weil
he data is corrupted once it is turned into a jetty temporary file. *** We are using ActiveMQ 5.3.0, and again, the JDK on which the problem is occurring has a version string of OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1), OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode). *** Thanks! Marc Weil

Re: best approach to transfer large File, modify content on receive

2010-03-04 Thread Marc Weil
e sending files >1GB around using the ActiveMQ's BlobMessage. > > ...mmh you have an interesting real-life use case: can you give us a few > more details? > > Things like the "side protocol" you use (FTP? WebDAV?), daily volumes, any > special other ActiveMQ tuni

Re: best approach to transfer large File, modify content on receive

2010-03-03 Thread Marc Weil
100 MB isn't really that large. We are sending files >1GB around using the ActiveMQ's BlobMessage. Why don't you try using that instead of doing chunking and serialization/deserialization manually? http://activemq.apache.org/blob-messages.html Marc On Wed, Mar 3, 2010 at 6:17 AM, Cristian Botiza

Re: Large BLOBs cause crash with IllegalArgumentException

2010-02-03 Thread Marc Weil
Does anyone have any information on how to set up BLOB messages to use SCP? I never received a response to my question from a few days ago. Thanks! Marc On Sat, Jan 30, 2010 at 3:54 PM, Marc Weil wrote: > Thanks for the help, guys. Is the syntax for using SCP and SFTP with this > the s

Re: Large BLOBs cause crash with IllegalArgumentException

2010-01-30 Thread Marc Weil
t; -- > > 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 Sat, Jan 30, 2010 at 3:43 AM, Marc Weil wrote:

Large BLOBs cause crash with IllegalArgumentException

2010-01-29 Thread Marc Weil
Hello everyone, I'm trying to send a large (~1.6GB) BlobMessage to my ActiveMQ server via a queue and every time I try I get a seemingly endless series of IllegalArgumentExceptions with the same backtrace: ERROR | EXCEPTION java.lang.IllegalArgumentException at java.nio.Buffer.position(Bu