Hello, all!

I found a very strange issue - having the broker, producer and consumer
running on JDK 1.6 Blob messages aren't processed at all - in the directory
with blobs I can see partial files with blobs and nothing happens - looks like
the producer can't finish the uploading of a message for some reason.

When starting the broker at JDK 1.5 and producer/consumer at JDK 1.6 nothing
happens as well - the same behavior is being observed.

However when starting broker under JDK 1.6 and producer/consumer at JDK 1.5 I
can see such weird exception:

java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at 
sun.net.www.http.ChunkedOutputStream.write(ChunkedOutputStream.java:161)
        at 
sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:2492)
        at 
org.apache.activemq.blob.DefaultBlobUploadStrategy.uploadStream(DefaultBlobUploadStrategy.java:63)
        at org.apache.activemq.blob.BlobUploader.upload(BlobUploader.java:53)
        at 
org.apache.activemq.command.ActiveMQBlobMessage.onSend(ActiveMQBlobMessage.java:163)
        at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1622)
        at 
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:227)
        at 
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:300
)

If all of broker, consumer and producer are started using JDK 1.5 - there are
no such issues, blobs are uploaded just fine.

Is it something related to JDK 1.6, or port of JDK 1.6 for FreeBSD, or
ActiveMQ itself? May be you may need some additional information from me to
recognize the cause of the issue?

Thank you in advance!

-- 
Eugene N Dzhurinsky

Attachment: pgpELFXKlmxB8.pgp
Description: PGP signature

Reply via email to