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
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
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
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
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
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
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:
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