I think your directory could be the error:

Syntax error on line 8 of
/usr/home//tomcat/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto:
Can't locate API module structure `jk_module' in file

because of the 2 slashs /usr/home//tomcat/...

-----Message d'origine-----
De : Sampath K Settipalli [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 31 juillet 2001 17:16
À : [EMAIL PROTECTED]
Objet : install/start tomcat-mod_jk-apache


Hi,

  I've installed Apache 1.3.20 (built with source) &  binary version of
tomcat 3.2.3  on solaris. To build mod_jk I used source of tomcat 3.2.3
(src/native/jk library) and created mod_jk.so . It created with some
warnings: I copied the mod_jk.so to apache/libexec and added a Include
statement at end of httpd.conf for mod_jk.conf-auto which was created
when  tomcat was started.
I followed these steps as per mod_jk-howto.html Auto-Config.

Now when I start apache it says:::
--------------------------------------------
/apache_1.3.20 > apachectl start
Syntax error on line 8 of
/usr/home//tomcat/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto:
Can't locate API module structure `jk_module' in file
/usr/home//apache_1.3.20/libexec/mod_jk.so: ld.so.1:
/usr/home/apache_1.3.20/bin/httpd: fatal: jk_module: can't find symbol
/usr/home/apache_1.3.20/bin/apachectl start: httpd could not be started
----------------------------------------------
Line 8 of mod_jk.conf-auto is " LoadModule jk_module libexec/mod_jk.s "


Can someone please suggest what do I need to do to APache find
jk_module/ overcome this. Do I need to do some other steps in
installing/configuring Apache-tomcat-mod_jk

Thanks in Advance,
Sampath

Just incase if you want to check if mo_jk was created correctly  this is
the the display I got when mod_jk.so was created with apxs
-------------------------------
>
$APACHE_HOME/bin/apxs -o mod_jk.so -DSOLARIS -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -c *.c ../jk/*.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp12_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp13.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_ajp13_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_connect.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_jni_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_lb_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_map.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_msg_buff.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_nwmain.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_pool.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_sockbuf.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_uri_worker_map.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_util.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c jk_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_ajp12_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_ajp13.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_ajp13_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_connect.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_jni_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_lb_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_map.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_msg_buff.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_nwmain.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_pool.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_sockbuf.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_uri_worker_map.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_util.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE

-I/usr/home/apache_1.3.20/include -I../jk
-I/usr/java1.2/include
-I/usr/java1.2/include/solaris -DSOLARIS  -c ../jk/jk_worker.c
ld -G -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o
jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o
jk_jni_worker.o
jk_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o jk_worker.o
jk_util.o jk_uri_worker_map.o jk_sockbuf.o jk_pool.o jk_nwmain.o
jk_msg_buff.o
jk_map.o jk_lb_worker.o jk_jni_worker.o jk_connect.o jk_ajp13_worker.o
jk_ajp13.o jk_ajp12_worker.o
ld: warning: file jk_worker.o: attempted multiple inclusion of file
ld: warning: file jk_util.o: attempted multiple inclusion of file
ld: warning: file jk_uri_worker_map.o: attempted multiple inclusion of
file
ld: warning: file jk_sockbuf.o: attempted multiple inclusion of file
ld: warning: file jk_pool.o: attempted multiple inclusion of file
ld: warning: file jk_nwmain.o: attempted multiple inclusion of file
ld: warning: file jk_msg_buff.o: attempted multiple inclusion of file
ld: warning: file jk_map.o: attempted multiple inclusion of file
ld: warning: file jk_lb_worker.o: attempted multiple inclusion of file
ld: warning: file jk_jni_worker.o: attempted multiple inclusion of file
ld: warning: file jk_connect.o: attempted multiple inclusion of file
ld: warning: file jk_ajp13_worker.o: attempted multiple inclusion of
file
ld: warning: file jk_ajp13.o: attempted multiple inclusion of file
ld: warning: file jk_ajp12_worker.o: attempted multiple inclusion of
file
7.36u 3.21s 0:15.39 68.6%
----------------------------------------



Reply via email to