You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Arnaud Héritier <ah...@sopragroup.com> on 2001/10/19 17:15:15 UTC

mod_jk between Tomcat 3.2.3 and Apache 1.3.22 under AIX 4.3.3 and maybe mod_webapp solution

Hi all !!!

Reading old post from the list I found the answer of my problem in a post 
of Charles Epaillard which had a similar problem with mod_jserv.
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg19958.html
So thanks a lot Charles.
To all of us which had a similar problem with the linker launched by axps, 
try to edit axps and replace the line my $CFG_LDFLAGS_SHLIB .... by :

my $CFG_LDFLAGS_SHLIB = q( -bexpall -bM:SRE -bnoentry 
-bI:/aladin/stock/gui/apache-1.3.22/libexec/httpd.exp -lc -ldl); # 
substitute
via Makefile.tmpl

It worked for me!!!!!!

If anyone want to get my release of mod_jk.so for apache 1.3.22 in AIX 
4.3.3, mail me and i will send it to you

bye !!


> -----Message d'origine-----
> De:	Dan Silcox [SMTP:dsilcox@chemconnect.com]
> Date:	vendredi 19 octobre 2001 15:52
> À:	Heritier Arnaud
> Objet:	RE: How to use mod_jk between Tomcat 3.2.3 and Apache 1.3.22 under 
AIX 4.3.3
>
> Replying from the tomcat-users group offline since I don't really have
> anything usefull for the group.  Just letting you know we had the same
> problem and did not get it resolved at all.
>
> Our System Engineers were never able to compile mod_jk under AIX 4.3.3. 
 We
> had to set up a seperate box with Linux on it to deploy the app.
>
> Good Luck
>
> -----Original Message-----
> From: Arnaud Héritier [mailto:aheritier@sopragroup.com]
> Sent: Friday, October 19, 2001 8:59 AM
> To: Tomcat-User (Adresse de messagerie)
> Subject: How to use mod_jk between Tomcat 3.2.3 and Apache 1.3.22 under
> AIX 4.3.3
>
>
> 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
>
>