The first thing you need to do is go and FTP the following files (never fear... these are binary files, not source code):
-and-
http://java.sun.com/products/servlet/
You will have to go through a license agreement but what you want at this URL is Java Servlet Development Kit 2.0: for UNIX (Solaris and others). Once you get through the license agreement you will be able to download the following file: "jsdk20-solaris2-sparc.tar.Z".
Once you have these files you should decompress and install them. Put them in the following places:
/usr/local/jdk117_v3
-and-
/usr/local/JSDK2.0
Now, edit the following file:
/etc/httpd/jserv.properties
Find the line which begins with "wrapper.bin" and change it to:
wrapper.bin=/usr/local/jdk117_v3a/bin/i686/green_threads/java
Next find the line which begins with "wrapper.classpath" and change it to say this:
wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
Then find the line which begins with "security.authentication" and change it to:
security.authentication=false
Once done, edit the following file:
/etc/httpd/conf/httpd.conf
You will need to find the following lines:
#LoadModule jserv_module modules/mod_jserv.so
and make sure they look like this:
LoadModule jserv_module modules/mod_jserv.so
Note: the only change here was the removal of the "#" sign.
You also must find this line:
#AddModule mod_jserv.c
and make sure it looks like this:
AddModule mod_jserv.c
Now issue this command:
chmod 0644 /etc/httpd/logs/jserv.log
Then restart the httpsd daemon and tail the /etc/httpd/logs/jserv.log where you should see this:
"tail /etc/httpd/logs/jserv.log"
[07/10/1999 22:14:51:166] (INFO) jserv_watchdog:(23020)
watchdog_cleanup()
[07/10/1999 22:14:51:193] (INFO) Apache Module was cleaned-up
And finally tail the /etc/httpd/logs/error_log where you should see something like this:
"tail /etc/httpd/logs/error_log"
[Thu Oct 7 22:14:56 1999] [notice] Red Hat Secure/3.0 (Unix) DAV/0.9.8
ApacheJServ/1.0 mod_perl/1.19 PHP/3.0.9 mod_ssl/2.2.8 OpenSSL/0.9.2b
configured -- resuming normal operations
[Thu Oct 7 22:14:56 1999] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
Your Jserv module is now installed and working.