tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Héritier <aherit...@sopragroup.com>
Subject How to use mod_jk between Tomcat 3.2.3 and Apache 1.3.22 under AIX 4.3.3
Date Fri, 19 Oct 2001 12:59:04 GMT
Hi all!

I've a problem concerning the use of mod_jk under AIX 4.3.3.

I posted a mail on the list yesterday and Adam F told me to get the 
mod_jk.so for this plateform here :
http://users.aber.ac.uk/aff9/tomcat/tomcat-3.2/aix/4.3.3/RS6000-ppc/

I did it but when I launch Apache I have the following error :

Syntax error on line 8 of 
/aladin/stock/gui/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto:
API module structure `jk_module' in file 
/aladin/stock/gui/apache-1.3.22/libexec/mod_jk.so is garbled - perhaps this 
is not an Apache module DSO?
./apachectl start: httpd could not be started

So I did an httpd -l to make sure that Apache has the DSO support :

Compiled-in modules:
  http_core.c
  mod_so.c
suexec: disabled; invalid wrapper bin/suexec

So it's not this.

Then I got the tomcat 3.2.3 sources to compile myself the mod_jk module.

I setted my environment variables and made a makefile from the linux one 
but when I compile, I get this traces :


        /aladin/stock/gui/apache-1.3.22/bin/apxs -I ../jk -I 
/usr/java130/include -I /usr/java130/include/AIX -c -o mod_jk.so mod_jk.c 
../jk/jk_ajp12_worker.c ../jk/jk_connect.c ../jk/jk_msg_buff.c 
../jk/jk_util.c ../jk/jk_ajp13.c  ../jk/jk_jni_worker.c ../jk/jk_pool.c 
../jk/jk_worker.c ../jk/jk_ajp13_worker.c ../jk/jk_lb_worker.c 
 ../jk/jk_sockbuf.c  ../jk/jk_map.c ../jk/jk_uri_worker_map.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c mod_jk.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c 
../jk/jk_ajp12_worker.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROC  
ESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 -DSHARED_MODULE 
-I/aladin/stock/gui/apache-1.3.22/include -I../jk -I/usr/java130/include 
-I/usr/java130/include/AIX  -c ../jk/jk_connect.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c ../jk/jk_msg_buff.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c ../jk/jk_util.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c ../jk/jk_ajp13.c
    1500-030: (I) INFORMATION: sc_for_req_header: Additional optimization 
may be attained by recompiling and specifying MAXMEM option with a value 
greater than 2048.
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c ../jk/jk_jni_worker.c
"../jk/jk_jni_worker.c", line 736.28: 1506-068 (E) Operation between types 
"long(*)(const struct JNIInvokeInterface_***,const struct 
JNINativeInterface_***,void*)" and "void*" is not allowed.
"../jk/jk_jni_worker.c", line 737.34: 1506-068 (E) Operation between types 
"long(*)(const struct JNIInvokeInterface_***,int,int*)" and "void*" is not 
allowed.
"../jk/jk_jni_worker.c", line 738.43: 1506-068 (E) Operation between types 
"long(*)(void*)" and "void*" is not allowed.
    1500-030: (I) INFORMATION: init: Additional optimization may be atta  
ined by recompiling and specifying MAXMEM option with a value greater than 
2048.
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c ../jk/jk_pool.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c ../jk/jk_worker.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c 
../jk/jk_ajp13_worker.c
    1500-030: (I) INFORMATION: service: Additional optimization may be 
attained by recompiling and specifying MAXMEM option with a value greater 
than 2048.
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c ../jk/jk_lb_worker.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c ../jk/jk_sockbuf.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c ../jk/jk_map.c
xlc_r -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ 
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2 
-DSHARED_MODULE -I/aladin/stock/gui/apache-1.3.22/include -I../jk 
-I/usr/java130/include -I/usr/java130/include/AIX  -c 
../jk/jk_uri_worker_map.c
"../jk/jk_uri_worker_map.c", line 61.30: 1506-342 (W) "/*" detected in 
comment.
"../jk/jk_uri_worker_map.c", line 61.54: 1506-342 (W) "/*" detected in 
comment.
"../jk/jk_uri_worker_map.c", line 62.34: 1506-342 (W) "/*" detected in 
comment.
"../jk/jk_uri_worker_map.c", line 62.65: 1506-342 (W) "/*" detected in 
comment.
"../jk/jk_uri_worker_map.c", line 242.77: 1506-342 (W) "/*" detected in 
comment.
"../jk/jk_uri_worker_map.c", line 243.44: 1506-342 (W) "/*" detected in 
comment.
ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry 
-bI:/aladin/stock/gui/apache-1.3.22/libexec/httpd.exp -lc -o mod_jk.so 
jk_uri_worker_map.o jk_map.o jk_sockbuf.o jk_lb_worker.o jk_ajp13_worker.o 
jk_worker.o jk_pool.o jk_jni_worker.o jk_ajp13.o jk_util.o jk_msg_buff.o 
jk_connect.o jk_ajp12_worker.o mod_jk.o
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
apxs:Break: Command failed with rc=8
make: The error code from the last command is 1.


Stop.


I don't understand what happens ???

If someone could help me, It will be very nice.
I don't have another ideas !! :-(

Thanks

arno

Arnaud HERITIER
Ingénieur d'études
SOPRA. Group
EAI Consulting
Tel : +33-1-53-33-44-74
Email : aheritier@sopragroup.com



Mime
View raw message