Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache httpd Service Unavailable 503 error |
|
Author |
|
sairam
Joined: 13 Jan 2015 Posts: 2 Location: india,hyderabad
|
Posted: Tue 13 Jan '15 13:45 Post subject: Apache httpd Service Unavailable 503 error |
|
|
Hi folks,
I am using windows 2008 R2 64 bit O.S, I downloaded httpd-2.4.10-win64-VC11 and tomcat-connectors-1.2.39-windows-x86_64-httpd-2.4.x and I created 3 tomcat workers and then I configured workers.properties and httpd.conf.
After complete setup when i tried using
http://localhost then
I got It works! message (looks everything is fine).
and then I have deployed my sample web application I tried to access the same application then using
http://localhost/SampleCluster
I am getting
503 service not available.
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
I seen so many people are struck with this issue(I came to know when I searched for this issue)
What might be the problem ?
Please let me know.
Last edited by sairam on Wed 14 Jan '15 7:51; edited 1 time in total |
|
Back to top |
|
maba
Joined: 05 Feb 2012 Posts: 64 Location: Germany, Heilbronn
|
Posted: Tue 13 Jan '15 21:17 Post subject: |
|
|
This is almost always a problem of the Tomcat application. Apache is waiting for some valid HTTP response but gets strange output that cannot be interpreted as a HTTP reply.
Example:
should return something like
Code: |
Content-Type: text/html
Content-Length: 2069
<html>
...
</html>
|
The byte count and the reply are just examples. Now lets assume your Tomcat app returns a LOG-Message to Apache instead of valid HTML. Something like
Code: |
INFO: 2015-01-13 10:00:00.1234 Here comes a log message
WARN: 2015-01-13 10:00:00.1235 Here comes something else
|
This would totally confuse Apache. Those are the scenarios where Apache will give 503 or 500 as a reply.
To debug Tomcat Apps and check what is going on, please check the catalina.out file of you Tomcat App for errors.
The catalina.out default location is under .../Apache-Tomcat-x.y.z/logs |
|
Back to top |
|
|
|
|
|
|