Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Installation : (Category) Unix :
DSO Installation with Solaris 2.6, Apache 1.3.6, JServ1.0b3
My procedure to install JServ on Solaris 2.6 with Apache 1.3.6, JDK 1.2 Solaris VM (build Solaris_JDK_1.2_01_dev06_fcsV, native threads, sunwjit) consisted of the following steps:
1) Ensure perl is installed, if not get it from gnu.
2) Install apache with DSO support (under /usr/local/apache):
        ./configure --enable-module=so --enable-shared=max
        make ; make install
3) Compile and install JServ (under /usr/local/jserv):
        ./configure --with-jsdk=/path/to/jsdk --with-apache-install=/usr/local/apache
        make ; make install
4) Re-configure and re-compile apache:
        ./configure --enable-module=so --enable-shared=max --add-module=/path/to/mod_jserv.c --enable-shared=jserv --enable-module=jserv
        make ;  make install
5) You must copy the file /path/to/mod_jserv.c/mod_jserv.so into /usr/local/apache/libexec (the shared library needed by apache).
   For some reason (for me), when apache compiled it only created a stub library with the actual jserv functionality missing, so moving the lib file from the jserv source directory (~340K) to overwrite the stubby version (~34K) seemed to work.
6) Edit /usr/local/apache/conf/httpd.conf and add the line
        Include /path/to/JRun/source/example/jserv.conf
   somewhere after the LoadModule and AddModule commands. This is as per the instruction from the output of the 'make' command in step 3.
7) Edit the file /path/to/JServ/Sources/example/jserv.properties, and make sure that the CLASSPATH setting does not contain a line like:
        wrapper.classpath=
Other classpaths are OK, ie
        wrapper.classpath=/path/to/jsdk/jsdk.jar
An indication of this problem is that apache will not start up, with the error log (no error output from jserv mod at all) saying:
[Mon Apr 19 13:00:31 1999] [crit] (2)No such file or directory: Apache JServ enc ountered a fatal error; check your ApJServLogFile for details if none are presen t in this file. Exiting.
Comment out any blank classpath lines and it should run (barring any other problems)
8) Try the example as mentioned in the output from the JServ make command in step 3.
You may then want to change the example configuration files, move them to a directory outside the source tree, add another zone etc.
Hope this helps, Richard
r_kinderATyahooDOTcom
[Append to This Answer]
Previous: (Answer) DSO Installion with SUSE 6.0
Next: (Answer) Apache 1.3.6, JDK 117v1a, JSDK2.0, Jserv1.0b3 on RH5.2
This document is: http://java.apache.org/faq/?file=114
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.