Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Installation : (Category) Unix :
Marc's DSO Installation Experiences

----------
From: mab@pc.webstakes.com
To: Java Apache Users java-apache-users@list.working-dogs.com
Subject: Re: How do I make a DSO -
Date: Wed, Mar 31, 1999, 2:20 PM

On Wed, 31 Mar 1999, Rodrigo Zerlotti wrote:

> Sorry if it is very simple, but I am a beginner on the Apache world.
> 
> I have red-hat5.2 running apache/secure (no src available, so I cant
> recompile). I can use apache's apxs to load the DSO, but I don't know
> how to setup jserv configure to build it. configure is giving an error
> when it tries to check apache for dso :
> 
> ...
> checking for Apache directory... configure: error:  does not have DSO
> support


Assuming that your apache was configured with mod_so (DSO) support, the
following worked for me:

./configure \
--with-apache-install=/opt/apache \ 
--prefix=/opt/jserv \
--with-jdk-home=/opt/jdk \
--with-jsdk=/opt/jsdk/lib/jsdk.jar
make
make install

This will put mod_jserv.so in /opt/apache/libexec.

Then just add your LoadModule and AddModule lines to httpd.conf....

Mark
[Append to This Answer]
Previous: (Answer) Damian Fauth's DSO build instructions
Next: (Answer) Arnie Nelson's DSO Installation Instructions
This document is: http://java.apache.org/faq/?file=86
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.