You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by tsimtung <ts...@hotmail.com> on 2000/11/16 19:37:01 UTC
mod_jserv.so problem
I have problem in building mod_jserv.
I am using linux, and get tomcat 3.1 binary source to build tomcat.
tomcat runs smoonthly in standalone mode, and then i would like to
integrate it with apache.
I can't find the directory "jakarta-tomcat/src/native/apache/jserv/" in
my jakarta-tomcat directory, "src" directory only has
"javax" and "org" two directories!!!!
Please help!!!
Thx
###############from tomcat_ug.html##############################
Building mod_jserv on UNIX involves the following:
Download the source distribution of Tomcat from here.
Uncompress it into some directory.
Building the module:
Change directory into jakarta-tomcat/src/native/apache/jserv/
Execute the build command
apxs -c *.c -o mod_jserv.so
apxs is part of the Apache distribution and should be located in your
APACHE_HOME/bin.
more mod_jserv.so goodness
Posted by Danijel Pajur <dp...@irb.hr>.
I have a problem getting apache + tomcat to work.. I've tried using
mod_jserv.so from the binary build but then my apache won't start reporting
error:
Loaded DSO libexec/mod_jserv.so uses plain Apa
che 1.3 API, this module might crash under EAPI! (please recompile it
with -DEAPI)
So I've downloaded 3.1 source, got into the src/native/apache/jserv dir and
tried compiling mod_jserv, however it exits with an ambigous error
apxs:Break: Command failed with rc=16711680
last thing it tried was:
-o autochange.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o
jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o
jserv_ajpv11.o autochange.o -o mod_jserv.so
I've used the build command
apxs -c *.c -o mod_jserv.so
Is there an easy way to do this? Or a way to get mod_jk for Tomcat 3.1 ? I
don't care which I just want to get it running. :(
thanks,
Dan
RE: mod_jserv.so problem
Posted by Micky Mimo <mi...@truexchange.com>.
Correction the error is:
Starting httpd
: Syntax error on line 13 of /usr/local/tomcat/conf/tomcat.conf
Cannot load /etc/httpd/libexec/mod_jserv.so into server:
/etc/httpd/libexec/mod_jserv.so: cannot open shared object
file: No such file or directory
FAILED
/===============================\
| Micky Mimo |
| Systems Specialist |
| (781) 457 - 1317 |
| micky@truexchange.com |
\===============================/
-----Original Message-----
From: Micky Mimo [mailto:micky@truexchange.com]
Sent: Thursday, November 16, 2000 3:34 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: mod_jserv.so problem
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
FAILED]
micky
/===============================\
| Micky Mimo |
| Systems Specialist |
| (781) 457 - 1317 |
| micky@truexchange.com |
\===============================/
-----Original Message-----
From: Michael J. Suzio [ mailto:msuzio@iss.net <ma...@iss.net> ]
Sent: Thursday, November 16, 2000 2:58 PM
To: tomcat-user@jakarta.apache.org
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
msuzio@iss.net
RE: mod_jserv.so problem
Posted by Micky Mimo <mi...@truexchange.com>.
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
FAILED]
micky
/===============================\
| Micky Mimo |
| Systems Specialist |
| (781) 457 - 1317 |
| micky@truexchange.com |
\===============================/
-----Original Message-----
From: Michael J. Suzio [mailto:msuzio@iss.net]
Sent: Thursday, November 16, 2000 2:58 PM
To: tomcat-user@jakarta.apache.org
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
msuzio@iss.net
Re: mod_jserv.so problem
Posted by "Michael J. Suzio" <ms...@iss.net>.
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
msuzio@iss.net
RE: mod_jserv.so problem
Posted by Micky Mimo <mi...@truexchange.com>.
You have to use the source tomcat version for 3.1. The binary version does
not have the build directories.
http://jakarta.apache.org/builds/tomcat/release/v3.1/src/
/===============================\
| Micky Mimo |
| Systems Specialist |
| (781) 457 - 1317 |
| micky@truexchange.com |
\===============================/
-----Original Message-----
From: tsimtung [mailto:tsimtung@hotmail.com]
Sent: Thursday, November 16, 2000 1:37 PM
To: tomcat-user@jakarta.apache.org; support@tsimtung.com
Subject: mod_jserv.so problem
I have problem in building mod_jserv.
I am using linux, and get tomcat 3.1 binary source to build tomcat.
tomcat runs smoonthly in standalone mode, and then i would like to
integrate it with apache.
I can't find the directory "jakarta-tomcat/src/native/apache/jserv/" in
my jakarta-tomcat directory, "src" directory only has
"javax" and "org" two directories!!!!
Please help!!!
Thx
###############from tomcat_ug.html##############################
Building mod_jserv on UNIX involves the following:
Download the source distribution of Tomcat from here.
Uncompress it into some directory.
Building the module:
Change directory into jakarta-tomcat/src/native/apache/jserv/
Execute the build command
apxs -c *.c -o mod_jserv.so
apxs is part of the Apache distribution and should be located in your
APACHE_HOME/bin.