Product iASP
Company Halcyon Software
Summary ASP support for UNIX
Website http://www.halcyonsoftware.com

iASP is a portable active server framework that lets developers deploy Active Server Pags (ASP) on any Java servlet-enabled Web Server.

Configuring Instant ASP on the Zeus Web Server

This page explains the procedure for installing Instant ASP on a Zeus Web server. Before attempting to install Instant ASP please make sure that the Zeus web server is properly installed and running. These instructions are written for Zeus 3.3.2. The instructions for configuring iASP on the old 3.1.8 Zeus Web server is here.
  1. Unpack the iASP tar ball into a directory, such as /usr/local.
  2. Now you need to configure a servlet runner for the website you wish to use iASP with. Zeus supports two servlet runners, JServ and JRun. Instructions for installing JServ are here, and instructions for JRun are here.

    In the instructions below, we used JServ, but they are easy to alter to work with JRun as well.

  3. Once JServ is configured so your website can run servlets, the next stage is to modify the JServ configuration so that the servlet runner can find the iASP classes.

    To do this, modifiy the defaul servlet zone configuration file, which probably lives at /usr/local/jserv/conf/zone.properties, so that the respositor entry looks like ths:

    repositories=/usr/local/iasp/servlets&nbsp;<br>
  4. The next step is to make the webserver automatically pass any webpages that end in ".asp" to the iASP engine.

    To do this, simply go to the map module configuration page for the adminserver, and add a handler for file extension asp to /jserv/Dispatcher.DispatcherServlet

  5. Then you need to ensure the JServ servlet runner is running, and has the classpath setup so it can find the iASP files. I used a simple script to do this as the class path is so long. 

      loc=/usr/local /usr/local/bin/java -classpath $loc/jdk/bin/:$loc/jdk/lib/classes.zip:$loc/jdk/lib/rt.jar:$loc/jserv/ApacheJServ.jar:$loc/jsdk/lib/jsdk.jar:$loc/iasp/lib/activation.jar:$loc/iasp/lib/iasplib.jar:$loc/iasp/lib/buttons.jar:$loc/iasp/lib/rjax.jar:$loc/iasp/lib/ejbcorba.jar:$loc/iasp/lib/iasp_image.jar:$loc/iasp/lib/iasp_sock.jar:$loc/iasp/lib/iasp_mail.jar:$loc/iasp/lib/iasp_chart.jar:$loc/iasp/lib/iasp_pop3.jar:$loc/iasp/lib/iasp_exec.jar org.apache.jserv.JServ $loc/jserv/conf/jserv.properties

    NOTE: please adjust the paths for the files to reflect your system, i.e. if the java executiable is in /usr/bin then replace /usr/local/bin/java with /usr/bin/java. You should simply see the following mesage: ApacheJServ/1.0
  6. Now simply restart your website in the adminserver to ensure your configuration settings have been deployed, and you can now run the iASP samples from the website you have just setup.