Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document is intended to explain how to get the JK2 connector to work with Apache2 and Tomcat 4.1.18+. This document provides a step by step process for doing so.

(error) JK2 is deprecated!

Building

  1. Download the jakarta-tomcat-connectors package
  2. install httpd-devel and httpd RPMs
  3. Ensure you have libtool, gcc and the various build tools
  4. go into the jakarta-tomcat-connectors/jk/ directory
    1. edit build.properties. Set "apache2.home" to /usr and "apache2.include" to /usr/include/httpd.
    2. if you have apache13 installed in a separate dir - set apache13.home=DIR, otherwise set it to "none"
    3. if you are on gentoo - apache2.include will be /usr/include/apache2
    4. if you built your own apache - it must be APACHE/include
    5. On Red Hat 8, make a symlink between /usr/lib/libapr.so to /usr/lib/libapr-0.so ( the "right" name )

...