tracker issue : CF-3158283

select a category, or use search below
(searches all categories and all time range)
Title:

File upload operation fails on Weblogic 12.1.1

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): / ext-user (Akhila K Srinivas)

Created: 04/05/2012

Components: Installation/Config, JEE Deployment

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: 282170 /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Mac 10 All,Win XP All

Vote Count: 0

Problem:  File upload operation fails on Weblogic 12.1.1 on Windows 2003 (64-bit) platform. 

Method: 

Code to repro the case :

fileUpload.cfm :

<cfoutput>#sUrl#
<form action="#sUrl#/_whoami.cfm" enctype="multipart/form-data" >
<input name="form1" type="file">
<input type="submit">
</form>
</cfoutput>

_whoami.cfm:

<cffile action="upload" destination="/tmp">

Link for this -  http://10.192.37.252:7001/cfusion/cfsuite/coldfusion/tags/internet-protocol/cfhttp/48519.cfm

Result:  java.io.IOException: Corrupt form data: premature ending

Expected: File should be uploaded properly. 

Workaround:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3158283

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

Its a bug with Weblogic. Oracle Bug#13657792: "SERVLET 3.0 FILE UPLOAD BREAKS OTHER FILE UPLOAD FRAMEWORKS" http://comments.gmane.org/gmane.comp.jakarta.struts.user/181975
Comment by Sanjeev K.
19778 | April 05, 2012 05:49:05 AM GMT
As per servlet spec 3, weblogic reads inputstream before handing over to coldfusion
Comment by Sanjeev K.
19779 | April 05, 2012 05:49:43 AM GMT
WebLogic has fixed this issue in 12.1.2. Can you confirm if this works on 12.1.2. We were able to upload the file successfully.
Comment by Dattanand M.
19780 | January 28, 2015 06:38:37 AM GMT