Hi,
First off I am no tomcat expert, but I recognise the dynamic link error.
If you use the nm uitlity to dump the contents of the mod_jk.so, you will
see that ap_table_get is an
undefined reference, this means that it has to exist in another library,
either linked in statically or
as in this case in a library/binaty  linked to dynamically at run time.
My suggestion is that you use the ldd command with mod_jk.so, and see if
this shows you any dependancies
that cannot be resolved. So when I do "ldd mod_jok.so" I get:

        librt.so.1 =>    /usr/lib/librt.so.1
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1

To be honest I cannot see this object in these libraries, but the symbol
does appear in a nm dump of the program httpd,
so this suggests either something did not build properly  or there is a
mismatch between the tomcat and apache versions.
We have the same configuration working on Solaris 8 with apache 1.2.20 and
tomcat 3.2.3.

Regards

Pete

[END]

Edy Lie wrote:

> Greetings ...
>
> I have installed tomcat 3.3 in Solaris 8 sparc with apache 1.3.22.
> Tomcat able to run and mod_jk.so has been compiled from source and place
> in the directory /usr/local/apache/libexec/mod_jk.so
>
> But when i tried to start mod_jk with apache i got this message. I have
> tried google but no luck still. Thanks
>
> # /usr/local/apache/bin/apachectl configtest
> Syntax error on line 4 of
> /usr/local/jakarta-tomcat-3.3/conf/auto/mod_jk.conf:
> Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1:
> /usr/local/apache/bin/httpd: fatal: relocation error: file
> /usr/local/apache/libexec/mod_jk.so: symbol ap_table_get: referenced
> symbol not found
>
> entry for mod_jk.conf
>
> ########## Auto generated on Sat Dec 15 22:24:08 GMT+08:00
> 2001##########
>
> <IfModule !mod_jk.c>
>   LoadModule jk_module libexec/mod_jk.so
> </IfModule>
>
> JkWorkersFile "/usr/local/jakarta-tomcat-3.3/conf/jk/workers.properties"
> JkLogFile "/usr/local/jakarta-tomcat-3.3/logs/mod_jk.log"
>
> JkLogLevel emerg
>
> JkMount /admin ajp13
> JkMount /admin/* ajp13
>
> JkMount /examples ajp13
> JkMount /examples/* ajp13
>
> Regards,
> Edy Lie



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to