To compile mod_jk2 on linux you require:

Apache Portable Runtime (APR)   apr-0.9.4.tar.gz        http://apr.apache.org/
Apache Portable Runtime Utility (APR)   apr-util-0.9.4.tar.gz   http://apr.apache.org/


During the build process if you see the error shown in Table 2?5:
Table 2?5:make Error
[so] stdErr[so] /usr/bin/ld: cannot fine -lapr      [so] collect2: ld returned 1 exit 
status

Create a symbolic link libapr-0.so in /usr/lib from /usr/local/apr/lib.
     ln -s /usr/local/apr/lib/libapr-0.so /usr/lib/libapr-0.so 




-----Original Message-----
From: Walter do Valle [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 1:41 PM
To: [EMAIL PROTECTED]
Subject: Apache + Tomcat


Is there anyone in the list using sucessfully Apache 2.0.40 or greater and Tomcat 
5.0.16 with mod_jk2 v 2.0.2 connector in a linux box?
Is so, then what's the secret to compile a functional version of mod_jk2?

I downloaded the sources and compiled them. 
When I try to use the generated files jkjni.so and mod_jk2.so two problems ocurr: 

- When tomcat starts: 
INFO: APR not loaded, disabling jni components: java.io.IOException: 
java.lang.UnsatisfiedLinkError: /usr/lib/httpd/modules/jkjni.so: 
/usr/lib/httpd/modules/jkjni.so: undefined symbol: apr_md5_final

-When apache starts:
[Thu Dec 18 14:27:42 2003] [notice] Digest: generating secret for digest 
authentication ...
[Thu Dec 18 14:27:42 2003] [notice] Digest: done
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19850 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19852 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19853 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19854 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19856 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19857 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- 
resuming normal operations
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19855 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2

Any help is welcome.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to