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

  • Home
  • SEARCH
  • 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 8296397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:58:42+00:00 2026-06-08T14:58:42+00:00

I am looking for a correct way to install mod_jk on Mac OS X

  • 0

I am looking for a correct way to install mod_jk on Mac OS X 10.7 Lion or above. The goal is to test Tomcat behind Apache HTTPD.

I’ve found so far the only way to install mod_jk is to download source then configure it in the console and make and make install.

This is not very true because I will need to manage mod_jk installation and configuration myself. I for example can forget to delete mod_jk later when needed. Anyway I think there should be more friendly way to install mod_jk like some kind of DMG package.

I also found that mod_jk is available in the OS X Server. Actually it’s on my development machine, but available only for the server.

<IfDefine MACOSXSERVER>
...
#LoadModule jk_module libexec/apache2/mod_jk.so
...
</IfDefine MACOSXSERVER>

May be there is a package for mod_jk somewhere for developers who don’t install OS X Server or any other way.

UPDATES

  1. mod_proxy_ajp is an alternative. Main Pros: it’s bundled with Apache and Mac OS X
  2. I now tested mod_proxy_ajp in my configuration and can say that it’s even better – because no need extra configuration. mod_proxy_ajp goes out of the box on Mac and perhaps on linux-server too I believe. You also don’t need to use extra workers.properties file.

Here is how my config looks like:

<VirtualHost *:80>
    ServerAdmin me@me.com
    DocumentRoot "/Users/me/Sites/projekt"
    ServerName projekt.local

    <Directory "/Users/me/Sites/projekt">
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    <Proxy *>
      AddDefaultCharset Off
      Order deny,allow
      Allow from all
    </Proxy>

    ProxyPass /coolapp ajp://localhost:8009/coolapp
    ProxyPassReverse /coolapp ajp://localhost:8009/coolapp

    ErrorLog "/private/var/log/apache2/projekt.local-error_log"
    CustomLog "/private/var/log/apache2/projekt.local-access_log" common    
</VirtualHost>

This above and configured Tomcat with AJP connector is only what you need. Amazing!

Reference:

  1. Install mod_jk on OS X – http://www.bartbusschots.ie/blog/?p=1347
  2. Comparison mod_jk vs. mod_proxy_ajp apache to tomcat: mod_jk vs mod_proxy
  3. How to configure mod_proxy_ajp with Tomcat ?

Please suggest.

  • 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-06-08T14:58:44+00:00Added an answer on June 8, 2026 at 2:58 pm

    You can give mod_proxy_ajp a shot. It does AJP13 and load balancing just like mod_jk but ships with Mac OS X.

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

Sidebar

Related Questions

Looking for the correct way and control to import and export of out of
I'm looking for the correct way to export my pictures sequence into a quicktime
I am looking to the fastest and the correct way to check if a
I am looking at singletons and I was curious about the correct way to
I'm looking for the correct way of using wp_get_attachment_image(). The following code: <?php $args
I'm looking for the correct way to structure the query for a view in
I'm looking at this code of the correct way to do a singleton in
I am new to RavenDB and looking for guidance on the correct way to
I am looking for the CORRECT way to do the following: $(#some-image).fadeOut(); $(#some-image).attr(src, new-src.png);
I've been trawling various sites looking for the correct way to manage switching. I

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.