Configuring iASP on the Zeus Web Server Version 3.1.8

The following instructions show how to configure your Zeus Web Server to run your ASP applications with iASP. The Zeus servlet interface does not currently support sessions. Consequently, some iASP samples will not run properly. If you want session support on Zeus, you must configure Apache JServ with the Zeus Web Server. For instructions, see Configuring iASP on the Zeus Web Server Using Apache JServ.

NOTE: Instant ASP has been tested with Zeus 3.1.8 on Linux and Solaris platforms. In theory, however, Instant ASP should run on all Zeus platforms.

  1. Using the Zeus administration server, click the Web icon to select or create a new webserver.

  2. Under Actions, select the New Server icon.

    zeus.gif (5127 bytes)

  3. In the New Server window, add the following information substituting the correct values for your specific configuration. (This example uses the name "iasptest" for the new webserver.)
  4. Server Name:iasptest
    Server URL:192.9.200.100:5000
    Document Root:/home/iasp
    Clone Server:default setting

  5. Click the Create Server button.

  6. Under Status, double-click the edit icon for the new web server.

    zeus1.gif (4892 bytes)
  7. In the Edit Server window, select Module Configuration.

    zeus3.gif (23971 bytes)

  8. Select the Distributed option.
  9. zeus2.gif (5905 bytes)

  10. Under the 'Java Servlets' field, add the following information, substituting the correct values for your specific configuration:
  11. Service prefix: /servlet
    Servlet server: 192.9.200.100:5000

    NOTE: Replace the IP address, 192.9.200.100, with the IP address for the machine hosting the Zeus Webserver. 5000 is the port number assigned to Instant ASP.

  12. Click the Update button.

  13. Return to the Edit Server window and choose the Path Mapping option.

    zeus3.gif (23971 bytes)
  14. Under the Handler section, add the following information:

    File extension: asp
    Handler: /servlet/Dispatcher.DispatcherServlet

  15. Click the Add button.

  16. Configure the Start file which can be found in %ZEUSHOME%/web/java/servlet directory. You will need to customize this script according to your own environment:
  17. #! /bin/sh
    JAVAVM=/usr/jdk116/bin/java z
    CLASSPATH="/usr/jdk116/lib/classes.zip:/usr/local/zeus/web/java/servlet/ZeusServlet.zip:
    /java/lib/classes.zip:/iasp/lib/classes:/iasp/lib/activation.jar:/iasp/lib/iasplib.jar:/iasp/lib/buttons.jar:
    /iasp/lib/jsdk.jar:/iasp/lib/rjax.jar:/iasp/lib/ejbcorba.jar:/iasp/lib/iasp_image.jar:/iasp/lib/iasp_sock.jar:
    /iasp/lib/iasp_mail.jar:/iasp/lib/iasp_chart.jar:/iasp/lib/iasp_pop3.jar:/iasp/lib/iasp_exec.jar"
    ZEUSHOME=/usr/local/zeus
    ZEUS=/usr/local/zeus
    export CLASSPATH  ZEUSHOME
    exec $JAVAVM -DZEUSHOME=$ZEUSHOME uk.co.zeus.servlet.SockdServletGate $*

    NOTE: /user/jdk116/bin/java above should be replaced with the correct path to the Java virtual machine installed on your system. Similarly, substitute the /iasp directory with the directory in which you installed Instant ASP.

  18. Start Instant ASP server engine by executing the "start" script:
  19. % ./start iasptest

    NOTE: Substitute the name you used for your web server in step one for "iasptest."

  20. After you execute the start script, you will see the following messages on your terminal:

    Zeus ServletServer/1.1 -(C) Zeus Technology Ltd 1998
    Starting server on port 5000 using prefix /servlet/
     

  21. Verify that Instant ASP is running correctly.

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


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