I have tried to compile apache DSO with support for jserv for a couple days
now, and I know i'm close, but still something is not quite right...
everything compiles fine without throwing any untoward errors, except when i
try to start apache.... using RH 5.1, Apache 1.3.2, jserv latest...
i began by copying the files in jserv/src/c into apache/modules/jserv.
then:
./configure --prefix=/usr/local/apache --enable-rule=SHARED_CORE --enable-mo
dul
e=so --activate-module=src/modules/jserv/mod_jserv.c
followed by:
./configure --with-jsdk=/usr/local/JSDK2.0/lib/jsdk.jar --enable-debugging -
-en
able-compressed-jar --with-apache-install=/usr/local/apache --prefix=/usr/lo
cal
/jserv --enable-apache-conf
everything purports to be fine, but issuing 'apachectl start' returns...
[root@supanova/home/jerome]# /usr/local/apache/sbin/apachectl start
You must specify a secret key, or disable this feature.
To disable, add "ApJServSecretKey DISABLED" to your Apache configuration
file.
To use, add "ApJServSecretKey {filename}" where filename is document
with more or less random contents, and perhaps a few kb in length.
The JServ documentation explains this in more detail.
/usr/local/apache/sbin/apachectl start: httpd could not be started
before everyopne tells me thats the jserv.conf that need's including
/cat-ing onto httpd.conf, i am aware of the case.. Iknow it is seeing it...
if i duplicate the ApJServSecretKey entry , i get an error to that effect.
what have i done wrong here....?
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ron Burton
> Sent: Wednesday, February 17, 1999 3:09 PM
> To: Java Apache Users
> Subject: Re: Compiling JServ as a DSO on RHL 5.2
>
>
> Id recommend getting a system administrator. There is no
> such thing as
> just writing code, someone has to install it, patch it, fix it,
> break it and
> reinstall it. :-)
>
> On the other hand there is a school of thought that says to write a
> program well using a provided service you should fully understand that
> service. Installing is one way to really get ot know a service. :-)
>
> Personally 3 days of pure Jserv install headaches has left me
> with more
> understanding than a man should be subjected too.
>
> Ron Burton
> ( He who has Jserv working like a champ. )
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]