Issues with upload in JFiileupload

Upload core product.
Post Reply
Mythili
Posts: 1
Joined: Tue Apr 30, 2013 4:38 am

Issues with upload in JFiileupload

Post by Mythili »

The JFileUpload http upload is failing when deployed to the Jboss in solaris server.
I am not getting any error message while upload.It says upload status as 200 (OK). But i could not see the uploaded file in the path. TThe file is getting uploaded when trying the upload with process.jsp. The issue is happening only when i try to upload via the Applet. Looks like the Process.jsp itself is not gettting invoked. The same code works fine in the local environment which is Jboss in Windows.

Since the upload is working when trying to access from process.jsp..there is no question about the folder and the permission levels.

Requesting anyone to help me on getting this issue resolved.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Issues with upload in JFiileupload

Post by support »

Could you try to enable DEBUG mode to see if you get any error in Java console?
<PARAM NAME="verbosemode" VALUE="debug">

fneto
Posts: 2
Joined: Fri May 16, 2014 3:49 pm

Re: Issues with upload in JFiileupload

Post by fneto »

I am having possibly the same issue.


INFO] A - Loading regFile : license.oxw
[INFO] A - Registered to :netto.us
[DEBUG] HTTPUploadTransfer - Skip resume: false
[INFO] HTTPUploadTransfer - Upload (POST) started : C:\Users\felipen\Documents\Customers\CNP\2013-08-21.txt
[DEBUG] HTTPUploadTransfer - todo:upload
[DEBUG] HttpConnection - Open connection to upload.netto.us:80
[DEBUG] header - >> "POST /uploader/process.jsp HTTP/1.1[\r][\n]"
[DEBUG] HttpMethodBase - Adding Host request header
[DEBUG] header - >> "User-Agent: JFileUpload[\r][\n]"
[DEBUG] header - >> "Host: upload.netto.us[\r][\n]"
[DEBUG] header - >> "Content-Length: 3863[\r][\n]"
[DEBUG] header - >> "Content-Type: multipart/form-data; boundary=jLwoRg0BVLt30a-Im4TWVLMhWKNBqFDyfvC[\r][\n]"
[DEBUG] header - >> "[\r][\n]"
[DEBUG] EntityEnclosingMethod - Request body sent
[DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
[DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
[DEBUG] header - << "Date: Fri, 16 May 2014 17:56:31 GMT[\r][\n]"
[DEBUG] header - << "Server: Apache/2.2.14 (Ubuntu)[\r][\n]"
[DEBUG] header - << "Last-Modified: Fri, 16 May 2014 17:36:30 GMT[\r][\n]"
[DEBUG] header - << "ETag: "bf20e-291c-4f987da974ec7"[\r][\n]"
[DEBUG] header - << "Accept-Ranges: bytes[\r][\n]"
[DEBUG] header - << "Content-Length: 10524[\r][\n]"
[DEBUG] header - << "Content-Type: text/plain[\r][\n]"
[DEBUG] header - << "[\r][\n]"
[INFO] HTTPUploadTransfer - Upload Status code = 200
[DEBUG] HttpMethodBase - Buffering response body
[DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy
[DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1
[DEBUG] HttpConnection - Releasing connection back to connection manager.
[INFO] HTTPUploadTransfer - Upload completed

Post Reply