Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7505699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:59:52+00:00 2026-05-29T21:59:52+00:00

We have an Apache server in front of Apache Tomcat Server. When switching from

  • 0

We have an Apache server in front of Apache Tomcat Server.

When switching from Tomcat 5.5 to Tomcat 7 we’ve encountered following behavior.
— Tomcat 5 – no AJP connection is not available until Tomcat is fully started (2-3 minutes in our case). This means that for any request HTTP status 503 is returned.
— Tomcat 7 – AJP connections are initialized at tomcat startup but cannot be handled until Tomcat is fully started. This means that requests are cumulated at Apache server.

We would like to have a similar behavior with Tomcat 7 as was with Tomcat 5.5, i.e. Tomcat will response with 503 HTTP status code to every AJP request until tomcat is fully stared.

Looking at Tomcat 7 AJP connector configuration http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html I don’t see any obvious way how to achieve aforementioned behavior.
Parameter “bindOnInit” sounds promising but it is already true by default and this obviously does not help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:59:54+00:00Added an answer on May 29, 2026 at 9:59 pm

    We have seen the same issue, so I tried setting bindOnInit=false and it actually does seem to give the behaviour that you require (503s from Apache until the webapp has finished starting). The documentation isn’t that clear, but I assume that ‘initiated’ (true) occurs much earlier than ‘started’ (false). I’ll update once we’ve done some proper testing (with our load balancers).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a front-end apache server running in a windows server. The system is
I have a fairly standard setup where a front-end Apache server forwards requests to
'm building some webby magic and am using Apache to front our tomcat server,
I've recently switched my Tomcat server to use AJP fronted by Apache. In the
I have apache web server installed as frontend and I have j2ee SAP Netweaver
I have my Apache http server running on localhost:80 and restlet server on localhost:8182,
I have Apache running on a public-facing Debian server, and am a bit worried
I have Apache 2 running on a VPS server (running Debian). I recently changed
I have Apache/SVN running on Windows Server 2003 with authentication via LDAP/Active Directory and
I have a static Web project added to an Apache server. Whenever I make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.