I am trying to install the adapter (mod_jserv.so) for apache + Tomcat. I keep getting the error below. I built the file mod_jserv.so from the source of tomcat 3.1. I installed the file mod_jserv.so in the libexec directory and added the include directive to the end of the httpd.conf file. I am at a loss right now on how to resolve this error.
What are the steps for loading mod_jk into apache. I tried the following but it did not work.
I put mod_jserv.so into the /etc/httpd/libexec directory. But when I start httpd I get this error.
[root@qatest2 init.d]# ./httpd start
Starting httpd: Syntax error on line 13 of /usr/local/tomcat/conf/tomcat.conf
Cannot load /etc/httpd/modules/mod_jserv.so into server: /etc/httpd/modules/mod_jserv.so: cannot open shared object
file: No such file or directory
| Micky Mimo |
| Systems Specialist |
| (781) 457 - 1317 |
| email@example.com |
From: Michael J. Suzio [mailto:firstname.lastname@example.org]
Sent: Thursday, November 16, 2000 2:58 PM
Subject: Re: mod_jserv.so problem
You need to actually download the source package for Tomcat. The
binary package does have a src/ directory, but it doesn't have the
native drivers code in it. I just downloaded the binary version,
installed that, then downloaded the source, compiled mod_jk (this was
for Tomcat 3.2b7, but applies to you also), and loaded that into Apache.
I know it's confusing, but it works.
Michael J. Suzio
Lead Software Engineer -- ISS Southfield