Cristoph,
Glad to be of help. By the way, the mod_jserv.so works now (no core dump). I
used the *real* apache code, instead of the IBM one.
The IBM version is nothing but the src code that comes with the IBM HTTPS
server 1.3.6.2 (http://www-4.ibm.com/software/webservers/httpservers/) -
basically a Apache dist tweaked by IBM and with modules for SSL added. It
turns out that they have Apache1.3.7 dev code inside the IBM 1.3.6.2
version. What the ***?
Where exactly did you add the line #! /usr/local/apache/libexec/mod_jk.so?
in mod_jk.c? Where is the documentation that you mention?
Also, do you happen to know the compiler option on AIX for building
multithreaded applications? I'm trying to build openssl, and the configure
script tells me it doesn't know the options for multithreading.
Glad to meet you as well. Feel free to bookmark me ;)
Regards
Ritwick
-----Original Message-----
From: Christoph Leser [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 29, 2000 5:15 AM
To: '[EMAIL PROTECTED]'
Subject: AW: mod_jk for AIX?
I tried as you suggested and it compiled and linked without problem.
It even seems to run, although I didn't do extensive testing yet.
FYI: I added an extra line in mod_jk.so like
#! /usr/local/apache/libexec/mod_jk.so
which, according to AIX documentation should help the runtime loader to
find the shared object.
And, of course, I moved the mod_jk.so to that directory.
Further to the core dump problem:
Have you looked into the log files?. I found some interesting files in:
/usr/local/apache/logs/access_log
/usr/local/apache/logs/error_log
/usr/local/jakarta/build/tomcat/logs/jasper.log
/usr/local/jakarta/build/tomcat/logs/servelt.log
I'm using the apache 1.3.12 and Java130 and tomcat 3.2.b8, maybe your setup
is somewhat different
BTW: You use the apache stuff from IBM? Is that now part of AIX, or where
did you get it from? Is it free? And how is it supported?
I noticed only little interest in AIX on this list, so I'm glad to meet you
;-) May I bookmark your e-mail address or are you watching thios list
regularly?
.
Friendly regards
Christoph Leser
S&P Computersysteme GmbH
E-Mail:[EMAIL PROTECTED]
Tel. +49 711 7264112
Fax: +49 711 7289860
-----Ursprüngliche Nachricht-----
Von: Ritwick Dhar [SMTP:[EMAIL PROTECTED]]
Gesendet am: Mittwoch, 29. November 2000 01:28
An: '[EMAIL PROTECTED]'
Cc: 'Christoph Leser'
Betreff: RE: mod_jk for AIX?
I got mod_jserv, not mod_jk to compile and link on AIX. mod_jk should be
similar. Christopher, you're right, the exports file was missing. I did the
following for mod_jserv.h:
1. Hacked the apxs file and added -qcpluscmt to make the compiler ignore
the
// comments
2. Took a look at .exp files for the .so modules. Each had one line:
modulename_module. I created a file in the current directory called
mod_jerv.exp with one line: jserv_module.
3. invoked ld with -bE:mod_jserv.exp
This resulted in a successful compile. However, I'm still getting a core
dump :-/ from httpd.
Am I doing things the right way?
Rit
-----Original Message-----
From: Christoph Leser [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 27, 2000 11:44 AM
To: '[EMAIL PROTECTED]'
Subject: AW: mod_jk for AIX?
I have the same problem. It seems to me that the -bE option is missing. On
AIX we need to have a *.exp file stating what symbols are to be exported by
the shared object we are going to build. Don't know how other systems do
it.
So we should figure out what symbols in mod_jk are to be exported (maybe
only jk_module ? ).
If nobody jumps in here, I'll try to figure it out, but it will not be
before next weekend.
Christoph Leser
S&P Computersysteme GmbH
E-Mail:[EMAIL PROTECTED]
Tel. +49 711 7264112
Fax: +49 711 7289860
-----Ursprüngliche Nachricht-----
Von: Ritwick Dhar [SMTP:[EMAIL PROTECTED]]
Gesendet am: Montag, 27. November 2000 16:50
An: '[EMAIL PROTECTED]'
Betreff: mod_jk for AIX?
Guys,
I'm having immense difficulty building mod_jk on AIX 4.3.3. + IBM HTTP
Server 1.3.12.1 + jdk1.1.8
apxs command:
/backup/ofxsoftware/IHS1.3.12.1.bin/bin/apxs -o mod_jk.so -I../jk
-I/usr/jdk_base/include -I/usr/jdk_base/i
nclude/aix -c *.c ../jk/*.c
Compilation goes well, the link fails with:
ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry
-bI:/backup/ofxsoftware/IHS1.3.12.1.bin/libexec/httpd.exp -lc -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 mod_jk.o
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
Can anyone tell me where I'm going wrong?
Does anyone have a prebuilt mod_jk.so for AIX?
Thanks
Rit
PS: I had no better luck with mod_jserv either. See my previous post about
HANDLER THREAD PROBLEM. Can't believe it's *this* difficult and frustrating
getting tomcat to work with Apache!