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 > Developer Center > mod_jk

mod_jk
Thread Tools
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 9, 2000, 04:02 AM
 
Hey there... I'm trying to compile mod_jk from Tomcat 3.2 and i use this command from inside the jakarta-tomcat/src/native/apache1.3 directory:

apxs -o mod_jk.so -I../jk -I/System/Library/Frameworks/JavaVM.framework/Headers -c *.c ../jk/*.c

It gives me this output:
cc -DDARWIN -DTARGET="apache" -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -O3 -pipe -traditional-cpp -DHARD_SERVER_LIMIT=1024 -DEAPI -DSHARED_MODULE -I/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers -I../jk -I/System/Library/Frameworks/JavaVM.framework/Headers -c mod_jk.c
In file included from /System/Library/Frameworks/Apache.framework/Versions/1.3/Headers/ap_config.h:1139,
from mod_jk.c:66:
/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers/hsregex.h:22: warning: `ap_private_extern' redefined
/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers/ap_config.h:1033: warning: this is the location of the previous definition
In file included from ../jk/jk_util.h:66,
from mod_jk.c:90:
../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this function)
mod_jk.c:679: (Each undeclared identifier is reported only once
mod_jk.c:679: for each function it appears in.)
mod_jk.c:679: parse error before `buf'
mod_jk.c:680: `buf' undeclared (first use in this function)
apxs:Break: Command failed with rc=65536

and then dies. anybody got any ideas?
     
powert
Guest
Status:
Reply With Quote
Dec 27, 2000, 10:02 AM
 
What is mod_jk? I've never heard of it and cannot find it on the apache site.

I've not had much luck compiling shared modules... trying to compile the mod_ldap one now.

BTW I see that it turned the -DEAPI flag on there, Extended API, I was trying to compile my modules like that and it did not know that flag. The pre-built Darwin apache modules have been compiled with the EAPI, but I don't know how to do it for my own.
     
Junior Member
Join Date: Feb 2000
Location: Chicago, IL
Status: Offline
Reply With Quote
Dec 27, 2000, 08:04 PM
 
mod_jk is part of the Tomcat project. It is part of the newer releases and replaces the mod_jserv apache module for dealing with java servlets. I have had some of the same problems and there have been other threads about it that you guys should look at. Some people had successfully dealt with it. But I was unable to get it compiled and working properly after much messing around. Any additional findings would be helpful.
     
powert
Guest
Status:
Reply With Quote
Dec 29, 2000, 10:44 AM
 
http://jakarta.apache.org/builds/tom...se/v3.2.1/bin/
these are sources of tomcat - if you take it, look at included documentation,
you will find the way to compile mod_jk with aspx (including all options, problems etc)
- it is called mod_jk-HOWTO.
     
Angus_D  (op)
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 29, 2000, 12:19 PM
 
Yeah I think I saw it... But it's only got info on compiling for freebsd and linux last time I checked.
     
   
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 11:20 PM.
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