I configured Apache JServ 1.0 for Redhat Linux 5.2 running Apache
1.3.3, JDK 1.1.7 and JSDK 2.0 and it seems to work fine. 

Here are some suggestions:
First make sure that Apache is configured for DSO Support. If you are
not sure, then u can configure apache for DSO support using the
following command lines: (in the Apache source directory)

$ ./configure --prefix=/usr/local/apache \
            --enable-rule=SHARED_CORE \
            --enable-module=so

and then

$ make; make install;

The above script will configure Apache for DSO support and will make
the apache installation directory to be /usr/local/apache.


Next to configure JServ, in the Jserv directory, 

$ ./configure --prefix=/usr/local/jserv \
              --with-apache-install=/usr/local/apache \
              --with-jdk-home=/usr/local/jdk117_v1a \
              --with-jsdk=/usr/local/JSDK2.0/lib 

$ make; make install;

This will configure and install Jserv. 

Once the configuration is done, all you need to do is to just include
the following line in your httpd.conf file (present in the
/usr/local/apache/etc directory)

Include /usr/local/ApacheJserv-1.0/example/jserv.conf


Now restart apache using the command line
$ /usr/local/apache/sbin/apachectl restart


If it starts off successfully, then you can point your browser to
http://localhost/example/Hello
and if it works then you are all set :)

Hope this helps,

Senthil



--- Jack Orenstein <[EMAIL PROTECTED]> wrote:
> I'm trying to run JServ 1.0 with Apache 1.3.3 on Red
> Hat 5.2. I'd like
> to use DSO, and Apache appears to be configured for
> this, (httpd -l
> shows that mod_so.c is present).
> 
> For Java, I have the Blackdown jdk 1.1.7 and JSDK
> 2.0.
> 
> I'm trying to configure JServ like this:
> 
>         ./configure --prefix=/usr/local/jserv
> --enable-apache-confmake
> 
> The configuration gets pretty far but then dies:
> 
>     loading cache ./config.cache
>     Configuring ApacheJServ/1.0
>     checking for a BSD compatible install...
> (cached) /usr/bin/install -c
>     ...
>     checking for Apache directory... checking for
> Java Servlet classes...
> /usr/local/java/jdk117_v1a/lib/jsdk.jar
>     ...
>     creating src/Makefile
>     creating src/java/Makefile
>     creating src/c/Makefile
>     creating src/c/jserv.h
>     creating
> src/java/org/apache/jserv/JServDefs.java
>     creating src/scripts/package/tar.gz/snap.sh
>     ./configure: /src/modules/jserv: No such file or
> directory
> 
> What is causing this failure? I'm not sure where
> configure is getting
> this path from. (Configure is a mystery to me, so if
> anyone can point
> at an FAQ or other documentation on configure, that
> would be
> appreciated.)
> 
> Thanks in advance.
> 
> Jack Orenstein
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:       
> [EMAIL PROTECTED]
> To unsubscribe:     
> [EMAIL PROTECTED]
> READ THE FAQ!!!!     <http://java.apache.org/faq/>
> Archives and Other: 
> <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]
> 
> 

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to