Hello:
PLEASE help me. I am very new to this and extremely confused.
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 edited /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
Then, I made a directory /usr/local/apache/servlets and placed my
TestServlet.class there.
I rebooted the machine and tried to see if jserv is working by
accessing the servlet via http://neil86.august.net/jserv/
but this did not work. I got a 404 not found error.
Obviously, something is wrong with my installation, but I dont
know how to figure it out.
Thanks,
Neil.
**We pay a 5% finders fee for job referrals that lead to a contract*
--------------------------------------------------------------------
|Neil Aggarwal |JAMM Consulting, Inc. |Custom Programming |
|President & CEO |www.JAMMConsulting.com|Java, C, C++, perl,|
|[EMAIL PROTECTED]|(972) 612-6056 |HTML, CGI |
--------------------------------------------------------------------
----------------------------------------------------------------
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]