Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why mod_jk.conf-auto is syntax error?

Status
Not open for further replies.

VincentYeh

Programmer
Jun 5, 2001
4
TW
I recomplie apache (1.3.20) with configure
"--enable-module=most --disable-module=auth_dbm --enable-shared=max",

and compile mod_jk (Tomcat 3.2.2) on Solaris (jdk 1.2):
"apxs -o mod_jk.so -DSOLARIS -I../jk -I/$JAVA_HOME/include -I$JAVA_HOME/include/solaris -c *.c ../jk/*c",

to go on, I copy mod_jk.so to apache/libexec.

start tomcat is normal!! (port==> tomcat:8080, ajp12:8007, ajp13:8009)

But, when I append "Include $TOMCAT_HOME/conf/mod_jk.conf-auto" to httpd.conf, and run "apachectl start" (or "httpd -t"), display:
"Syntax Error of mod_jk.conf-auto Line 8", Line 8 is "LoadModule jk_module libexec/mod_jk.so"!!

I don't know why? Please help me!! ^_^





 
I have fixed it, I append "-lposix4" to "apx -o ....... -c *.c ../jk/*.c"
 
I have fixed it by appending "-lpoxis4" to "apxs ....... -c *.c ../jk/*c"

VincentYeh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top