Neil Aggarwal wrote:
> Hello:
>
> I installed Redhat Linux 5.2 as a server-class installation.
>
> I then downloaded, built and installed Apache 1.3.6
> without a hitch.
>
> Next, I installed the Blackdown JDK 1.1.7
> and JSDK 2.0.
>
> I then downloaded Apache-JServ-1.0b3.tar.gz
> and de-archived it.
>
> I set these variables:
> JAVA_HOME=/usr/local/jdk117_v1a
> JSDK_HOME=/usr/local/JSDK2.0
> CLASSPATH=$JAVA_HOME/lib/classes.zip:$JSDK_HOME/lib/jsdk.jar
> PATH=$JAVA_HOME/bin:$JSDK_HOME/bin:$PATH
> export PATH JAVA_HOME JSDK_HOME CLASSPATH
>
> Then, I did this:
>
> cd /usr/local/Apache-JServ-1.0b3
> ./configure
> make
> make install
> cp /usr/local/Apache-JServ-1.0b3/src/c/*
> /usr/local/apache_1.3.6/src/modules/extra
> cd /usr/local/apache_1.3.6
> ./configure --prefix=/usr/local/apache
> --add-module=src/modules/extra/mod_jserv.c
> --enable-shared=jserv --enable-module=jserv
> make
> make install
>
> I then edit /usr/local/apache/conf/httpd.conf
> and appended the file /usr/local/Apache-JServ-1.0b3 to it.
>
> I then set:
> ApJservProperties /usr/local/Apache-JServ-1.0b3/conf/jserv.properties
>
> cd /usr/local/Apache-Jserv-1.0b3/conf
> I edited jserv.properties
> and modified the line:
> root.properties=/usr/local/Apache-Jserv-1.0b3/conf/zone.properties
>
> I copied zone.properties.in to zone.properties
> I edited zone.properties to add a line
> repositories=/usr/local/apache/servlets/TestServlet.class
>
I think the problem is here. A repository is not the name of a class. It's a
place where classes should be searched.
You have to change this to
repositories=/usr/local/apache/servlets
Hope this helps
Jean-Luc
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]