Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Apache proxy banlance Tomcat cluster cannot load Login Form.

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I build up a Tomcat cluster, and use Apache Httpd as load banlancer. It's like this:

Brower ----(https)------apache----(http)-------tomcat cluster

The URL is like
Everything works fine before I enable FBA in tomcat. I have enabled FBA in Tomcat, to protect /ctx/private.jsp. So, when user access /ctx/private.jsp, it should show Login Form.

But, when I access through proxy, the browser hung. And it will return 500 after a long time. If I skip proxy, access http://localhost:8080/ctx/private.jsp, it can show login form correctly.

proxy config is like this:

The Apache log is:

[Tue Feb 11 15:58:07 2014] [error] ajp_read_header: ajp_ilink_receive failed
[Tue Feb 11 15:58:07 2014] [error] (70007)The timeout specified has expired: proxy: read response failed from (
[Tue Feb 11 15:58:07 2014] [debug] proxy_util.c(2036): proxy: AJP: has released connection for (

What did I miss? Thanks.
Saloon Keeper
Posts: 24899
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like you need to look at the server that's listening on port 8009 and make sure it's operating properly.
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic