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

I installed it as a DSO by configuring Jserv like this:

./configure \
                --prefix=/usr/local/jserv \
                --with-apache-install=/usr/local/apache_1.3.6 \
                --with-jdk=home=/usr/local/jdk \
                --with-jsdk=/usr/local/jsdk/lib/jsdk.jar \

Give that a go.

BTW: I found that the only way I could make Jserv work after I'd installed
the DSO was to add a classpath to the the Jserv .jar file in the sources,
like this:

/usr/src/linux-2.2.5/ApacheJServ-1.0/src/java/ApacheJServ.jar

... rather than where I'd actually installed Jserv itself (in
/usr/local/jserv as above).

Don't know why that was though. Now I have to remember not to gzip the
sources back up!

JJ


-----Original Message-----
From: Rodrigo Zerlotti <[EMAIL PROTECTED]>
To: JServ Apache <[EMAIL PROTECTED]>
Date: 06 August 1999 16:36
Subject: Don't know what to do next - 2nd try


>-----------------------------
>Please read the FAQ!
><http://java.apache.org/faq/>
>-----------------------------
>
>Didn't get any answer, so I am trying again....
>
>TIA
>
>Rodrigo
>
>Original Message:
>
>I used to install jserv just fine on my "old" apache configuration.
>Because of some ssl problems, I needed to change the apache, include
>mod_ssl and reinstall. To make the install easier I used the rpm created
>by http://www.replay.com/redhat/apache.html
>
>Everything went just fine, and apache runs ok.
>
>Then, I tried to install jserv. So I ran the ./configure
>--with-apache=/usr ; make; make install; and everything went also fine.
>
>I installed the directives on httpd.conf, pointing to the right path.
>Then, when I tried to start apache I got the error;
>
># apachectl sslstart
>Syntax error on line 242 of /etc/httpd/conf/httpd.conf:
>API module structure `jserv_module' in file /usr/lib/apache/mod_jserv.so
>is garbled - perhaps this is not an Apache module DSO?
>/usr/sbin/apachectl sslstart: httpd could not be started
>
>I thought it is a DSO module ....
>
>Reading the SPECS for the apache rpm I see that Apache was configured
>using :
>
>OPTIM="$RPM_OPT_FLAGS" ./configure \
>        --with-perl=/usr/bin/perl \
>        --with-apache=../apache_%{apversion} \
>        --with-ssl=SYSTEM \
>        --enable-module=define \
>        --disable-rule=WANTHSREGEX \
>        --prefix=/home/httpd \
>        --sysconfdir=/etc/httpd/conf \
>        --datadir=/home/httpd \
>        --bindir=/usr/bin \
>        --sbindir=/usr/sbin \
>        --libexecdir=/usr/lib/apache \
>        --includedir=/usr/include/apache \
>        --logfiledir=/var/log/httpd \
>        --localstatedir=/var \
>        --runtimedir=/var/run \
>        --proxycachedir=/var/cache/httpd \
>        --mandir=/usr/man \
>        --enable-module=all \
>        --enable-shared=max \
>        --enable-suexec --suexec-caller=nobody \
>        --suexec-uidmin=500 --suexec-gidmin=500
>
>cd ../apache_%{apversion}
>make
>
>which indicates that DSO is OK (--enable-module=all ).
>
>Any idea what I do next???
>
>Thanks
>
>Rodrigo
>
>
>--
>--------------------------------------------------------------
>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]
>
>



--
--------------------------------------------------------------
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