WebService Image Uploading --> Service Timeouts

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
RentProperty
Posts: 345
Joined: Mon Nov 12, 2012 9:08 pm
Location: South Africa

WebService Image Uploading --> Service Timeouts

Post by RentProperty »

Hi Guys/Support, we are having some problems here and there with the image uploading via a Webserver. There seems to be Timeout Issues from the server, and I was hoping someone can tell me Which settings we need to tune to extend the timeout a little bit?

Typically the images we are uploading from the mobile Android app is about 50kb each but there can be about 80 images at a time (Worst case scenario). See the Timout Errors we are getting below.

We have already adjusted the My_SQL - MAX_ALLOWED_PACKETS so that is not the issue.

Any Feedback or assistance will be greatly appreciated.

Kindest Regards

Hein


<html><head><title>Apache Tomcat/6.0.35 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. Read timed out
com.bas.webapp.thin.servlets.RESTServlet.A(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.doPost(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
</pre></p><p><b>root cause</b> <pre>org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. Read timed out
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:429)
com.bas.webapp.thin.servlets.RESTServlet.B(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.A(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.A(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.A(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.doPost(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.35</h3></body></html>
at java.lang.Thread.run(Thread.java:841)
[2015/05/04 1:49:43 PM] Werner Hanekom:

==========================================
java.net.SocketTimeoutException
[2015/05/04 4:04:58 PM] Werner Hanekom: http://emske.com/samsung-galaxy-s6-psd-mock-up/
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
Post Reply