Sensible Open Source

Blog Status

  • 5 yrs 16 wks 3 days old
  • Updated: 27 Jul 2010
  • 459 entries
  • 179 comments
Total: 1,376,643
since: 5 Apr 2005

LinkBlogS

Creating Vidcasts

18 June 2007, Monday 7:05 P GMT-06
Tags:      

Man, Can't Microsoft Catch A Break?

16 March 2007, Friday 12:26 P GMT-06

Viacom, Google andYou Tube, Oh My!

16 March 2007, Friday 12:25 P GMT-06

Switch to digital TV to start in October

16 March 2007, Friday 7:46 A GMT-06

Is the Ice Ready? No, Its Still To Hot To Use...

16 March 2007, Friday 7:43 A GMT-06

MIT Entire Curriculum At disposal of e-learners

6 March 2007, Tuesday 11:52 A GMT-06

A cure for e-mail attention disorder?

2 March 2007, Friday 12:51 A GMT-06
Tags:  

Windows-on-Mac software gets virtualization update

1 March 2007, Thursday 5:08 A GMT-06

EnterpriseDB is/n't Open Source

1 March 2007, Thursday 3:37 A GMT-06

BitTorrent download portal debuts

27 February 2007, Tuesday 9:05 A GMT-06

$45b TXU buyout

27 February 2007, Tuesday 9:02 A GMT-06

iPhone Competitors Got The Touch

26 February 2007, Monday 3:43 A GMT-06
Tags:        

HTC - Smart Mobility

25 February 2007, Sunday 4:22 A GMT-06

Hard to find 1-800 numbers

23 February 2007, Friday 8:35 A GMT-06

Cuba Embraces Open-Source Software

21 February 2007, Wednesday 3:10 A GMT-06

Vista at the tipping point, Err Dipping Point?

11 February 2007, Sunday 11:11 A GMT-06
Tags:  

PostgreSQL Open Source And Persistence

3 February 2007, Saturday 10:32 P GMT-06

Blackboard Pledges No Patent Blocks

3 February 2007, Saturday 10:28 P GMT-06

UVU

5 January 2007, Friday 11:58 P GMT-06

Open-source IP PBX software appliance"

4 January 2007, Thursday 3:44 A GMT-06

Asterisk an under-appreciated Open Source Success Story

4 January 2007, Thursday 3:43 A GMT-06

Open Source AJAX Tooling

4 January 2007, Thursday 3:41 A GMT-06

Google MAIL API Secuirty Alert

1 January 2007, Monday 7:37 P GMT-06
Tags:    

United States Patent Application: 0060288329

26 December 2006, Tuesday 4:00 A GMT-06

LinkBlog Popular Tags

                                       







««Jul 2010»»
SMTWTFS
     123
45678910
11121314151617
18192021222324
25262728293031

 

August 16, 2012

Time Left

2 years 20 days

                   

RSS Add-Me








Google Related Links

MAC OS X - APACHE/TOMCAT and MOD_JK and A PATH TO MAKE

posted 23 June 2006, Friday
Blogging for me started simply to document configuration types of things and a mometary recall and a search and WALA!! I found what I forgot.  Young Terry Ferrell traversed over our NEW MAC and installed APACHE, TOMCAT AND MOD_JK.

The instructions are below!

Here are the steps I followed to build mod_jk and make it work with Apache 2.0.55 on Mac OS X:

1.  The apxs that the build wanted to use was in /usr/sbin.  No matter what I passed to the --with-apxs parameter the only value that would build successfully was /usr/sbin/apxs. Unfortunately this was the Apache 1.3 version of apxs so the mod_jk that resulted was for 1.3.  I eventually made a backup copy of /usr/sbin/apxs and took the apxs that was bundled with Apache 2.0.55 (from /sw/sbin/apxs) and copied it to /usr/sbin.  This time the build worked. Of course, being on a Mac I had to sudo most of the commands:

    A.  sudo cp /usr/sbin/apxs /usr/sbin/apxs_old
    B.  sudo cp /sw/sbin/apxs /usr/sbin/apxs
    C.  cd ~/Desktop/jakarta-tomcat-connectors-1.2.15-src/jk/native      #this is where the mod_jk source is
    D.  sudo ./configure --with-apxs=/usr/sbin/apxs
    E.  sudo make
    F.  sudo make install
At this point the mod_jk is in /usr/libexec and is called mod_jk.0.0.0.so.  The installation requires the file to be placed in sw/lib/apache2/modules/mod_jk.so with proper right permissions
    G.  sudo cp /urs/libexec/mod_jk.0.0.0.so /sw/lib/apache2/modules/mod_jk.so
    H.  sudo chmod 755 /sw/lib/apache2/modules/mod_jk.so
   
2.  Now that mod_jk is built, Apache's configuration needs to be modified:

        sudo vi /sw/etc/apache2/httpd.conf  and add this to the end of the LoadModule section:
        LoadModule jk_module /sw/lib/apache2/modules/mod_jk.so
   
        After trying to start Apache it complained about missing libraries.
   
3.  Add the libraries that mod_jk is depending on:

    A.  Using fink, download the src version of apache2-dev
    B.  Using fink again, download the src version of apr
   
Now Apache should start with the mod_jk added to it.  To finish the changes to make Apache talk to Tomcat:

    A.  Add these lines to the end of the httpd.conf file:
            JkWorkersFile "/usr/local/tomcat/conf/jk/workers.properties"
            JkLogFile "/usr/local/tomcat/logs/mod_jk.log"
            JkLogLevel emerg
           
            JkMount /* ajp13
           
    B.  Create a file called workers.properties and put it in the Tomcat conf/jk directory:
            a. sudo mkdir /usr/local/tomcat/conf/jk
            b. sudo vi /usr/local/tomcat/conf/jk/workers.properties
            c. add these lines to workers.properties:
                worker.list=ajp13
                worker.ajp13.port=8009
                worker.ajp13.host=localhost
                worker.ajp13.type=ajp13

    C.  Stop and restart Tomcat.  The following url should work in the browser:
            http://localhost:8080/index.jsp
    D.  Stop and restart Apache.  The following url should work in the browser:
            http://localhost/index.jsp

tags:                    

links: digg this    del.icio.us    technorati    reddit