Yoav, R�my,

thanks for your suggestions. We will consider that; the reason why we
hesitate is simply that we would have to apply modifications to the cos-lib
we've done would have to be ported to commons fileupload also (with testing,
adapting deployment etc).
BTW, testing with TC5.0.16 was successful again. Obviously there are side
effects of TC' implementation (inputStream-) details, but this only FYI.
Again, thanks for your responses and see you soon on this list...(;-))
(I'm not a patient debugger, too...)

grisi
----- Original Message -----
From: Shapira, Yoav <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Sent: Friday, December 05, 2003 3:11 PM
Subject: RE: TC 4 <-oreillyMultipart-> TC5: Corrupt form data: premature
ending



Howdy,
If I were you, Senor Griesbach, I would dump COS in favor of jakarta commons
fileupload instead of spending significant time debugging intricate input
stream problems...  But that's just me, and I'm not a patient debugger ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Dirk Griesbach [mailto:[EMAIL PROTECTED]
>Sent: Friday, December 05, 2003 5:57 AM
>To: Tomcat Users List
>Subject: Re: TC 4 <-oreillyMultipart-> TC5: Corrupt form data: premature
>ending
>
>Hello R�my,
>
>> Dirk Griesbach wrote:
>> > R�my,
>> >
>> > how would you have done it ?
>> > Maybe there can be applied a fix to it.
>>
>> You could add a sys.out in their readLine() method to see what is
>> actually being read :)
>
>you hit my thoughts thinking on debugging (:-)),
>but we now know that this causes trouble somehow
>so it's worth thinking how to do it differently.
>Instead of using the 'ServletInputStream' and instead
>of using the 'readLine()' Method (which is the only one within this class)
>reading multipart stream byte-by-byte.
>
>Reading bytewise is essential, I think, beacuse mostly uploaded data is of
>binary content.
>
>So do you have a suggestion how to avoid the 'readLine()'-thing being more
>performant ?
>
>regards
>
>grisi
>>
>> --
>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> R�my Maucherat
>> Senior Developer & Consultant
>> JBoss Group (Europe) S�RL
>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to