Configuring iASP on the Zeus Web Server Version 3.3.2

The following instructions show how to configure your Zeus Web Server to run your ASP applications with iASP. Before attempting to install Instant ASP please make sure that the Zeus web server is properly installed and running.

Before you can configure iASP on the Zeus Web Server, you must configure a servlet runner for the website for which you wish to use iASP. Zeus supports two servlet runners, JServ and JRun. Instructions for installing JServ are here, and instructions for JRun are here.

After the servlet runner is installed and configured, the next stage is to modify the configuration so that the servlet runner can find the iASP classes. The instructions below describe a JServ installation, but they can easily be modified to accommodate a JRun installation as well.

  1. Modifiy the default servlet zone configuration file, which probably lives at /usr/local/jserv/conf/zone.properties, so that the respository entry contains the following information:

    <samp>&lt;samp&gt;repositories=/usr/local/iasp/servlets&lt;/sano&gt;&lt;br&gt;</samp>
    <br>
  2. Using the Zeus administration server, click the edit icon for the web server. This example uses the web server "iasptest."
  3. Click the Edit icon in the Status window.

    zeus1.gif (4892 bytes)

  4. Select Module Configuration.

    zeus3.gif (23971 bytes)

  5. On the module configuration page, click the word "map."
    zeus2.gif (5905 bytes)
  6. Add the following under the Handler section:

    File extension: asp
    Handler: /jserv/Dispatcher.DispatcherServlet
  7. Click the Add button.

  8. Ensure the JServ servlet runner is running, and has the correct classpath setup so it can find the iASP files.

    NOTE: The classpath statement must be entered on a single line. It is broken up in the example below for clarity. 

    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: Adjust the paths to reflect your system setup.

    You should see the following message: ApacheJServ/1.0

  9. Restart your website in the adminserver to ensure your configuration settings take effect.
  10. Verify that iASP is running correctly.

If you encounter any problems or errors, please contact support@halcyonsoft.com


Copyright © 1998-2002, Halcyon Software Inc. All rights reserved.