spfun321 Posted December 12, 2006 Share Posted December 12, 2006 Hi,I am using Apache - 2.0.59 and Tomcat - 4.1.24 on SunOS 5.9.The problem which I am facing is the webserver is not processing any requests when a file is being uploaded. So When the user is trying to upload a file to server, no one else can get to the website..They get a 503 error. and the user gets a 503 also after sometime. The user gets a 502 sometimes. When the file is uploaded or processed, the website is accessible again. So basically the webserver is not accepting any requests when the app is doing an upload. Do we have any setting in apache/Tomcat..thats making the webserver behave like this ?Any suggestions or parameter changes will really help me..Thanks in Advancepat. Quote Link to comment Share on other sites More sharing options...
steviewdr Posted December 12, 2006 Share Posted December 12, 2006 Have you linked tomcat with apache?Are you dealing with tomcat or apache?-steve Quote Link to comment Share on other sites More sharing options...
spfun321 Posted December 12, 2006 Author Share Posted December 12, 2006 Hi I have configured apache to tomcat.when I trying to upload files the apache is not processing anyother requests untill the upload is completed. The other users are getting the 503 errors. Quote Link to comment Share on other sites More sharing options...
steviewdr Posted December 12, 2006 Share Posted December 12, 2006 And with mod_jk (connector) do you have tomcat processing all uploads? Is there a reason why you need to use apache? Tomcat will suffice as a webserver, unless you have an extremely volume of traffic.The way I have tomcat setup is:I use tomcat for everything - serving content etc. I use an apache proxy_html module to proxy connections to/from tomcat.e.g.:RewriteEngine on RewriteRule ^/(.*) http://webserver:8080/$1 [P]If you want to try and solve the exact issue you are having - you need to narrow and debug whats happenning. What is been stalled waiting for the process? Tomcat or Apache? It could be the script itself or it could be the connector. Im afraid I dont know anything about uploads with tomcat via mod_jk and apache.Tomcat on its own works fine for me.-steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.