| Author |
Apache Refusing connections while uploading/Downloading files
|
Ravi Kanth Behera
Greenhorn
Joined: Nov 06, 2006
Posts: 12
|
|
Hi, When a user is trying to upload a file, another user trying to access the site, both the user who uploads the file and any other user who tries to access the site has a 503. Can anyone help me out? Thanks in Advance
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
|
What errors are you seeing in the Tomcat logs?
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Ravi Kanth Behera
Greenhorn
Joined: Nov 06, 2006
Posts: 12
|
|
Thanks Ben for the reply Hello Ben, I find the 503's in the Apache logs,and connection timeouts in the Tomcat logs Here is the tomcat logs: INFO: connection timeout reached Dec 13, 2006 4:03:42 PM org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached Dec 13, 2006 4:03:42 PM org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached I would like to mention the setup as well: It has a Load Balancer in the front,then comes the apache,tomcat then the DB Thanks in Advance
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
|
|
What code is managing the file upload? How long does it take for the "other user" to get a 503 error. Bill
|
Java Resources at www.wbrogden.com
|
 |
Ravi Kanth Behera
Greenhorn
Joined: Nov 06, 2006
Posts: 12
|
|
Thanks Bill for the reply. The Code is a servlet. when the user starts a file upload, he gets 503 after 20-30 sec. but if any other user tries to access the site, after the file upload is started, they get a 503 immediately Thanks in Advance
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
I think what William meant was: What libraries are you using for file uploads? Also, post file uploading code from your servlet so we can see it. When you do so, please, use UBB code tags.
|
 |
 |
|
|
subject: Apache Refusing connections while uploading/Downloading files
|
|
|