< home | ows
This page contains source code, patches, and binaries for Sun Open Web Server on HP-UX. Open Web Server is the open-source version of Sun Java System Web Server, previously known as iPlanet Web Server. The official website for Open Web Server is here.
The software on this page is built for HP-UX 11.11 on PA-RISC. It might work on later HP-UX versions, but hasn't been tested. The source code may compile on IA, but again, this has not been tested. The binaries will not work on IA systems.
If you can provide me with root access to an HP-UX Itanium system, I will add support for IA to OWS.
Known bugs in this version of Open Web Server (1.0):
Known issues in this release of Open Web Server for HP-UX (A.01.00.01):
Please report any other problems or comments to river@loreley.flyingparchment.org.uk. For discussion of Open Web Server itself, not specific to the HP-UX version, please use the Sun forum at http://forums.sun.com/forum.jspa?forumID=759.
Before you can build or install Open Web Server, you need to install the OWSSupport package. This contains various third-party software (such as NSPR) that Web Server needs.
If you already have this software installed, you do not need OWSSupport to build Open Web Server from source. In this case, you will need to edit make/defines_HPPA_HP-UX_B.11.11.mk and change each instance of /opt/ows-support to the location where the software is installed.
To use the pre-compiled binaries, you must install OWSSupport.
Note: Do not use this software for anything other than OWS, as the contents are likely to change at any time.
OWSSupport version A.01 contains the following software:
# gzip -d OWSSupport.A.01.hppa.depot.gz # swinstall -s `pwd`/OWSSupport.A.01.hppa.depot \*
You will also need to install HP-UX Java from here. I tested with version 1.6.0.02.00. 1.5 might work, but you will need to change the Java path in the defines file before building.
The source for OWS on HP-UX is provided in three parts. The first is the pristine source from Sun. There are two ways to get this: check out the source from Sun's Mercurial repository, or download a tar file from here. Using the Sun repository ensures that you get the most recent Web Server source code. To checkout the source using hg:
hg clone ssh://anon@hg.opensolaris.org/hg/webstack/webserver
If you don't have Python and hg installed, you can download the tar file instead, which corresponds to HG revision 3:f11d28822e4e:
The second part is the make rules for HP-UX. These two files need to be placed in the make/ directory of the source tree.
Note: If you are using your own versions of NSS, NSPR, etc., you will need to edit defines_HPPA_HP-UX_B.11.11.mk and change each instance of /opt/ows-support to the location where the software is installed. If you are using the OWSSupport package, you do not need to do anything here.
The third part is a source code patch.
To build web server:
$ cd ows-source-3 $ gmake $ gmake install
This will create a web server instance in work/HP-UXB.11.11_DBG.OBJ/https-test.
This package contains a pre-built version of Open Web Server. It is built in debug mode and was compiled with aCC A.03.85 on HP-UX 11.11. Version A.01.00.01 corresponds to Open Web Server 1.0.
# gzip -d OWS-A.01.00.01.depot.gz # swinstall -s `pwd`/OWS-A.01.00.01.depot \*
After installation, create a web server instance by running /opt/ows/bin/create-instance.
To create the HP-UX distribution, I use a script makedist_hpux.sh, and a PSF file to generate the packages. You can download these here:
You can also download the create-instance script, which can also be used on other platforms: