Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > [Apache Tomcat] Compiling Mod_JK

[Apache Tomcat] Compiling Mod_JK
Thread Tools
Dedicated MacNNer
Join Date: Nov 2000
Location: Netherlands
Status: Offline
Reply With Quote
Nov 15, 2004, 03:02 PM
 
I'm trying to compile Mod_JK for Apache to connect to Tomcat. I've downloaded the sourcefiles, installed Ant, and now try to build it. But something goes wrong and I can't figure out what.

I've installed Apache2 in /library/apache2. I've copied Mod_jk into this folder. In this folder is a build.xml file. I'm not sure what to do with that. Should I run Ant here? If I do so, I get an error:

/Library/Apache2/jakarta-tomcat-connectors-jk2-2.0.4-src/build.xml:45: Basedir /Library/Apache2/jakarta-tomcat-connectors-jk2-2.0.4-src/util does not exist

In the mod_jk folder is a folder "jk", and if I run Ant in there, I get another error. I'm not sure where to look an what to do.
"Chance is irrelevant. We will succeed."
== 7 of 9 ==
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Nov 15, 2004, 04:38 PM
 
Originally posted by ervier:
I'm trying to compile Mod_JK for Apache to connect to Tomcat. I've downloaded the sourcefiles, installed Ant, and now try to build it. But something goes wrong and I can't figure out what.

I've installed Apache2 in /library/apache2. I've copied Mod_jk into this folder. In this folder is a build.xml file. I'm not sure what to do with that. Should I run Ant here? If I do so, I get an error:

/Library/Apache2/jakarta-tomcat-connectors-jk2-2.0.4-src/build.xml:45: Basedir /Library/Apache2/jakarta-tomcat-connectors-jk2-2.0.4-src/util does not exist

In the mod_jk folder is a folder "jk", and if I run Ant in there, I get another error. I'm not sure where to look an what to do.
Open build.xml in a text editor. Does it reference jakarta-tomcat-connectors-jk2-2.0.4-src? If so, rename it to the actual path to your jk folder. build.xml is the file that ant uses to determine the build targets and procedure.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Nov 15, 2004, 08:16 PM
 
Why bother with Apache at all?
Why not just use JBoss, or Orion, etc, etc?
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:58 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2