tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Apache 2.0.40, mod_jk core dump on AIX
Date Mon, 09 Sep 2002 15:19:17 GMT

What if you add an additional parameter to your configure command?

./configure --with-apxs=/www/apache2/bin/apxs --with-java-home=${JAVA_HOME} 

It was suggested to me that the JAVA_HOME part was needed...I would be
interested to know if it works without that part.

John


> -----Original Message-----
> From: johannes.grumboeck@porsche.co.at
> [mailto:johannes.grumboeck@porsche.co.at]
> Sent: Monday, September 09, 2002 10:57 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Apache 2.0.40, mod_jk core dump on AIX
> 
> 
> Hi everyone,
> 
> I want to use mod_jk for integrating Tomcat 4.0.4 and Apache 
> 2.0.40 on AIX
> 4.3.3.
> So I downloaded the j-t-c from CVS to get the latest source 
> and followed
> the instructions:
> 
> ./buildconf.sh
> ./configure --with-apxs=/www/apache2/bin/apxs
> make
> make install
> 
> There were 2 minimal things:
> 1) the path to libtool in the common/Makefile was wrong -> should be
> ../libtool
> 2) in the apache-2.0 directory I used the Makefile.apxs instead of
> Makefile.
> 
> It compiled very well and also installed into /www/apache2/modules,
> but by typing: apachectl configtest  it core-dumped.
> 
> I tried to figure out with gdb what was going on, but I have 
> to say - I
> don't even
> understand the output.
> 
> Perhaps does anyone of you?
> 
> ========
> (gdb) where
> #0  0xd155ce40 in ap_hook_handler () at config.c:193
> #1  0xd155f52c in jk_register_hooks (p=0x300afb14) at mod_jk.c:1715
> #2  0x1000ae68 in ap_register_hooks (m=0x300af1a8, p=0x30028d40) at
> config.c:438
> #3  0x1000b04c in ap_add_module (m=0x300af1a8, p=0x30028d40) at
> config.c:507
> #4  0x1000b18c in ap_add_loaded_module (mod=0x300af1a8, p=0x0) at
> config.c:562
> #5  0x1005813c in load_module (cmd=0x2ff22818, dummy=0x300af1a8,
>     modname=0x3009c408 <Address 0x3009c408 out of bounds>,
>     filename=0x3003c020 <Address 0x3003c020 out of bounds>) 
> at mod_so.c:323
> #6  0x1000b85c in invoke_cmd (cmd=0x30002ee0, parms=0x2ff22818,
>     mconfig=0x2ff20760, args=0x2ff207ee "") at config.c:736
> #7  0x1000cf9c in execute_now (
>     cmd_line=0x3009c3b8 <Address 0x3009c3b8 out of bounds>,
>     args=0x2ff207d3 "jk_module modules/mod_jk.so", 
> parms=0x2ff22818, p=0xa,
>     ptemp=0x53, sub_tree=0x2ff20760, parent=0x20002ef0) at 
> config.c:1342
> #8  0x1000c324 in ap_build_config_sub (p=0x30028d40, 
> temp_pool=0x300731e0,
> l=0x0,
>     parms=0x2ff22818, current=0x2ff227c8, curr_parent=0x2ff227cc,
>     conftree=0x3000157c) at config.c:939
> #9  0x1000c968 in ap_build_config (parms=0x2ff22818, p=0x30028d40,
>     temp_pool=0x300731e0, conftree=0x3000157c) at config.c:1146
> #10 0x1000d56c in ap_process_resource_config (s=0x3003bd80,
>     fname=0x30076600 <Address 0x30076600 out of bounds>,
> conftree=0x3000157c,
>     p=0x30028d40, ptemp=0x300731e0) at config.c:1527
> #11 0x1000dfc8 in ap_read_config (process=0x300afb14, 
> ptemp=0x300731e0,
>     filename=0x10066c9c "conf/httpd.conf", conftree=0x3000157c) at
> config.c:1805
> #12 0x10001048 in main (argc=2, argv=0x2ff22acc) at main.c:557
> #13 0x100001dc in __start ()
> (gdb)
> ========
> 
> 
> I search the net and almost every newsgroup where mod_jk or 
> tomcat were
> discussed, and
> it seams that building mod_jk as DSO on AIX is quite a challenge :)
> I did this for Apache 1.3.22 on AIX and found the hint to add 
> "-bexpall" to
> LDFLAGS_SHLIB
> in the apxs script. That worked - but there's nothing similar 
> for Apache
> 2.0.40. Sad but true.
> 
> Perhaps it is important that I have patched the source of 
> Apache with the
> openssl-patch and
> the AIX-specific apr-util patch available from
> http://www.apache.org/dist/httpd/patches/apply_to_2.0.40/
> 
> thanks in advance,
> and greetings from austria,
> 
> Johannes Grumböck
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message