In your earlier post to the user list you have mentioned that this happens when file caching is switched on. Is it the case or is this happen even without file caching....
~Thilina
On 3/3/06, Norman Barker <[EMAIL PROTECTED]> wrote:
Hi,
I posted this to the users group, and have waited a couple of days before posting here.
It seems that when using the ImageTransfer MTOM sample if the file is large (larger than 10mb) then
the service loses bytes when reading the data
DataHandler actualDH;
actualDH = (DataHandler)binaryNode.getDataHandler();
InputStream is = actualDH.getDataSource()
.getInputStream();
then reading the available bytes from the input stream.
Even sending the large file in 1mb chunks using MTOM and ByteArrayDataSource then the server will drop
a few bytes on the 10/11 th chunk.
Small files (< 10mb) go up the the server just fine.
I have noticed this behaviour in both the 0.94 and 0.95 (nightly) versions of Axis2. I am running Java 1.5.0_06
If this is something I can fix please let me know.
Many thanks,
Norman
--
"May the SourcE be with u"
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/ http://www.bloglines.com/blog/Thilina
