Hi, Rodrigo!
I just finished making this work. I gave up on the Red Hat version of
Apache. There are too many default directory settings in the JServ package
which refer to the source compiled version of Apache. I did an rpm -e
uninstall of the Red Hat Apache. Then I downloaded the 1.3.6 source from
Apache, and compiled it with DSO support. The whole structure is set up
under /usr/local/apache.
You need to have the Blackdown JDK1.2pre-v1 kit installed and running as
well as the JSDK2.0 package from sun prior to the Apache-JServ install. Here
is a config.sh script which worked to build the mod_jserv.so file under the
Apache-JServ-1.03b directory (rebuild the tree if you have already done a
make):
./configure \
--prefix=/usr/local/jserv \
--with-jdk-home=/usr/local/jdk1.2 \
--with-jsdk=/usr/local/JSDK2.0/lib/jsdk.jar \
--with-apache-install=/usr/local/apache
-------------------------------------------------
Here are the additions I made to the httpd.conf file in
/usr/local/apache/conf:
#--------------------------------------#
# Apache JServ Configuration Additions #
#--------------------------------------#
# Load the DSO for mod_jserv
LoadModule jserv_module libexec/mod_jserv.so
# Setup jserv status program
<Location /status/jserv>
SetHandler jserv-status
order deny,allow
allow from all
</Location>
# Begin jserv directives
<IfModule mod_jserv.c>
ApJServManual off
ApJServSecretKey DISABLED
# ApJServSecretKey /usr/local/apache/etc/jserv.secret.key
ApJServProperties /usr/local/apache/etc/jserv.properties
ApJServLogFile /usr/local/apache/var/log/jserv.log
ApJServMount /servlets /servlets
</IfModule>
-----------------------------------------------------------------
Here are the jserv properties files I set up in /usr/local/apache/etc:
jserv.properties
----------------
port=8007
wrapper.bin=/usr/local/jdk1.2/bin/java
wrapper.classpath=/usr/local/jsdk/lib/jsdk.jar
wrapper.classpath=/usr/local/jserv/lib/Apache-JServ.jar
zones=servlets
servlets.properties=/usr/local/apache/etc/jserv.servlets.properties
security.remote.administration=true
security.allowedAddresses=127.0.0.1
#security.authentication=true
#security.secretKey=/usr/local/apache/etc/jserv.secret.key
security.authentication=false
security.selfservlet=true
log=false
log.file=/usr/local/apache/var/log/jserv.trace
log.timestamp=true
log.dateFormat=[yyyyMMdd HHmmss.SSS zz]
log.channel.init=false
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=false
log.channel.requestData=false
log.channel.responseHeaders=false
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=true
log.channel.singleThreadModel=true
jserv.servlet.properties
------------------------
repositories=/usr/local/apache/share/servlets
---------------------------------------------
The properties files are adaptations of the the examples supplied by the
JServ package, and were initially obtained from a good writeup on a link
from jserv.apache.org which is:
http://www.servletcentral.com/1999-01/jserv.dchtml
That is my wrapup. Hopefully, there is enough information there to bridge
the document communications gap. This is a working configuration.
Regards, Arnie Nelson
Norstan Consulting
-----Original Message-----
From: Rodrigo Zerlotti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 31, 1999 4:06 PM
To: JServ Apache
Subject: How do I make a DSO -
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
Thanks
Rodrigo
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]