-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------


In trying to get JServ installed & running, I'm getting an "undefined
symbol: jserv_error_exit" error message when trying to start the secure web
server "httpsd", but can start httpd okay.

Background:
machine is an i386 box with Red Hat Linux 6.0 and Red Hat Secure Web Server
2.0 installed, with the following additional products:
JSDK 2.0 from java.sun.com, jdk 1.2 and jre 1.2 from a blackdown.org mirror,
and
Apache JServ 1.0.
All of the above source/product is installed in /usr/src, with symlinks in
/usr/local
My Apache config command is this:
    configure \
        --prefix=/usr/local/apache \
        --add-module=src/modules/extra/mod_jserv.c \
        --enable-shared=jserv \
        --enable-module=jserv
And my JServ config command is this:
    configure \
        --prefix=/usr/local/jserv \
        --with-apache-src=/usr/local/apache \
        --enable-apache-conf \
        --with-jdk-home=/usr/local/jdk \
        --with-jsdk=/usr/local/jsdk \
        --disable-debugging

Problem:
After finally getting the mod_jserv.so module built (by manual
copying/symlinking files, and making), and adding the LoadModule and
AddModule lines to /etc/httpd/conf/httpd.conf, when trying to start the
httpd server via "/etc/rc.d/init.d/httpsd start", I get this error message:
"Cannot load /etc/httpd/libexec/mod_jserv.so into server:
/etc/httpd/libexec/mod_jserv.so: undefined symbol: jserv_error_exit".
(/etc/httpd/libexec is symlinked to /usr/lib/apache, where all the .so
modules are)
However, I can successfully start httpd via ".../apache/sbin/apachectl
start".

I've determined that the jserv_error_exit function is defined in
jserv_utils.c, which had not been compiled/built at all during the config,
make, make install process.  So I copied /usr/local/jserv/src/c/*.* to
/usr/local/apache/src/modules/extra, and then re-ran the configure, make, &
make install of JServ and then Apache.  Still get same error message about
jserv_error_exit when trying to start via "/etc/rc.d/init.d/httpsd start".

Any help or guidance will be greatly appreciated,

- -
Mike Sorrelle
Senior Software Engineer
Hardwicke Consulting Group, Inc.
PO Box 498, Frederick, MD 21705
301-698-0894 x322
[EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to