Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install "YouTrack" on an ArchLinux box with Apache & Tomcat. I'm totally new to Tomcat though and I'm getting a "503 Service Temporarily Unavailable" error.

I installed Tomcat7 via package manager and put "youtrack.war" into this path: /usr/share/tomcat7/webapps/youtrack.war

I modified Tomcat's server.xml here:

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

Then in Apache I then configured this:

Listen 8081
NameVirtualHost *:8081

<VirtualHost *:8081>
ProxyPass / ajp://
ProxyPassReverse / ajp://

I then proceeded to restart both services and went to "http://<server>:8081/" and got a 503 error:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 503 Service Temporarily Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

It appears that Tomcat uncompressed the war file into /usr/share/tomcat7/webapps/youtrack/, so I'm pretty sure that's working.



I added this to virtualhost and it worked:

   <Proxy *>
     AddDefaultCharset Off
     Order deny,allow
     Allow from all
share|improve this question
Your proxypass rule is for ajp not for http like you have in server.xml. – Paul Nov 1 '12 at 18:42
up vote 2 down vote accepted

Un-comment the AJP section in tomcat server.xml file and user that port in your vhost section of apache config file. The protocol must be AJP and not HTTP to work.

share|improve this answer
Okay I updated my question, I changed it, but still have the same problem. I appreciate the help so far! – PolishHurricane Nov 1 '12 at 18:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.