----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

In my case, I found a way using Linux6.0, Apache1.3.9 and JServ1.0.
I hope my example can help you, Rohit Prabhakar -san.

First of all, you need JDK2.0 and JSDK1.1.7, please get these from
http://www.blackdown.org and http://java.sun.com/products/servlet.

And, set the environment on .bashrc as follows (dir is in my case)
# JSDK2.0
PATH=$PATH:/usr/local/jsdk/bin
# JSDK1.1.7
PATH=$PATH:/opt/jdk117_v3

No.1
Install and test Apache, like as follows.
> cd /usr/local/src
> gzip -d apache_1.3.9.tar.gz
> tar xvf apache_1.3.9.tar
> cd /usr/local/src/apache_1.3.9
> ./configure --prefix=/usr/localt/apache
> make
> make install
> cd /usr/local/apache/bin
> ./apachectl start  <-- you need to be root
> ./apachectl stop  <-- after running test from the client

No.2
Get ApacheJServ from http://java.apache.org/jserv/dist/Apache_JServ_1.0.tar.gz
In my case, I copied on /usr/local/src/

No.3
> gzip -d Apache_JServ_1.0.tar.gz
> tar xvf Apache_JServ-10.tar
> cd /usr/local/src/apache_JServ-1.0

No.4 run the following shell file
# file: makestatics.sh
#  \ is back-slash code
./configure \
--prefix=/usr/local/etc/jserv \
--with-apache-source=/usr/local/src/apache_1.3.9/src \
--with-jdk-home=/opt/jdk117_v3 \
--with-jsdk=/usr/local/src/JSDK2.0 \
--disable-debugging

No.5
> make
> make install  -- if you fail, do >make clean

No.6 include the source code of ApacheJServ into Apache
> cp -p /usr/local/src/ApacheJServ-1.0/src/c/* 
>/usr/local/src/apache_1.3.9/src/modules/jserv/

No.7
> cd /usr/local/src/apache_1.3.9

No.8 run the following shell file
# file: makeapache.sh
#  make apache static
#  \ is back slash
#  what module should be enabled is up to you
./configure \
--prefix=/usr/local/apache \
--with-layout=Apache \
--enable-module=rewrite \
--enable-module=auth_dbm \
--enable-module=headers \
--enable-module=info \
--enable-module=log_agent \
--enable-module=log_referer \
--enable-module=mmap_static \
--enable-module=unique_id \
--activate-module=src/modules/jserv/mod_jserv

No.8
> make
> make install

No.9 add the following line in /usr/local/conf/httpd.conf
Include /usr/local/src/ApacheJServ-1.0/example/jserv.conf

No.10 comment out the following line from 
/usr/local/src/ApacheJServ-1.0/example/jserv.conf
#LoadModule jserv-module libexec/mod_jserv.so

No.11
> cd /usr/local/apache/bin
> ./apachectl start

Then test from the client by setting http://(your apache server)/example/Hello
If you can get working message, then you succeed.

Good luck.

akira

[EMAIL PROTECTED] wrote:
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> Linux 6.0 (Red Hat)
> Apache 1.3.9
> Jserv 1.1b3
> Machine PIII
>  While configuring Jserv 1.1b3 (static) I included directive LoadModule
> Mod_jserv.so in HTTPD.conf along with addmodule dirctive but I was unable
> to find mod_jserv.so anywhere Please let me know where I can find this
> 
> If possible the steps to configureJserv1.1b3(static).
> 
> Regards
> Rohit Prabhakar
> 
> --
> --------------------------------------------------------------
> 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