You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Renato Salazar <e9...@pucp.edu.pe> on 2001/05/18 19:17:45 UTC
Tomcat-Apache configuration
Hello,
I've installed Tomcat3.2.1 over RedHat 7.0 and followed
the steps recommended in the Jakarta web page but Tomcat
doesn't work.
I think I've made something wrong with the mod_jserv.so
file because all the error messages deal with it.
First of all I made it using apxs as it's said in the
user guide but when I restart Apache after having
restarted Tomcat I get an error message that says
something like mod_jserv.so doesn't seem to be a DSO
module.
Then I tried to recompile Apache, I did the following:
#./configure --prefix=/usr/local/apache --enable-
module=rewrite --enable-shared=rewrite --enable-
module=proxy --enable-shared=proxy --enable-module=so
then added:
#./configure --add-
module=/usr/local/apache/libexec/mod_jserv.c
#make install
then I copied the built mod_jserv.so file
from /usr/lib/apache/ to /usr/local/apache/libexec/ and
when I tried to start Apache I got:
Syntax error on line 1 of /usr/local/tomcat/conf/tomcat-
apache.conf:
Cannot load /usr/local/apache/libexec/mod_jserv.so into
server:undefined symbol: jserv_error_exit
./apachectl start:httpd could not be started
Finally I tried copying a prebuilt mod_jserv.so file I
downloaded from the web in .../apache/libexec/ but I
received this message again:
API module structure 'jserv_module' in
file /usr/local/apache/libexec/mod_jserv.so is garbled -
perhaps this is not an Apache module DSO?
I think I'm not the firstone with this problem, if
someone could tell me what to do (copy files, edit
another ones, re-configure packages, etc) I would thank
him/her very much.
Thanks in advance...
Best regards.
Renato