Skip to Content
Professional Apache Tomcat 6
book

Professional Apache Tomcat 6

by Vivek Chopra, Sing Li, Jeff Genender
August 2007
Intermediate to advanced
659 pages
18h 20m
English
Wrox
Content preview from Professional Apache Tomcat 6

Chapter 11. Tomcat and Apache HTTP Server

A typical scenario in production environments is to use Tomcat along with a Web server. In this scenario, the Web server is used as a frontend to Tomcat. The Web server serves all static content and Tomcat serves all dynamic content. Tomcat does have its own built-in HTTP server, but some administrators managing large Web server farms may insist on using a well-known and robust Web server to accept requests from the Internet. A number of Web servers can be used for this purpose (including Apache, IIS, and Netscape). This chapter describes the process of connecting the Apache Web server to Tomcat.

Tomcat can be integrated with Apache using the JK Connector. This chapter explains how to install and configure this Connector. The JK Connector uses the Apache JServ Protocol (AJP) for communication between Tomcat and the Apache Web server.

The following topics are covered in this chapter:

  • The AJP (Apache JServ Protocol) Connector and the JK module (mod_jk module)

  • The AJP Connector and the mod_proxy module

  • Configuring Tomcat 6 with Apache 1.3.x using mod_jk

  • Configuring Tomcat 6 with Apache 2.0.x using mod_jk

  • Configuring Tomcat 6 with Apache 2.2.x using mod_proxy

  • Configuration of SSL for Apache 2.2.x servers

  • Load balancing multiple Tomcat instances with Apache

Each of the 1.3.x, 2.0.x, and 2.2.x series of the Apache server has slightly different architecture and feature sets. A later version does not necessarily displace another, and each version has its ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Apache Tomcat 7 Essentials

Apache Tomcat 7 Essentials

Tanuj Khare
Apache Tomcat 7

Apache Tomcat 7

James Goodwill, Aleksa Vukotic
J2EE™ Applications and BEA™ WebLogic Server™

J2EE™ Applications and BEA™ WebLogic Server™

Michael Girdley, Rob Woollen, Sandra L. Emerson

Publisher Resources

ISBN: 9780471753612Purchase book