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.
- Using the Zeus administration server, click the Web icon to select
or create a new webserver.
- Under Actions, select the New Server icon.

- 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.)
Server Name:iasptest
Server URL:192.9.200.100:5000
Document Root:/home/iasp
Clone Server:default setting
- Click the Create Server button.
- Under Status, double-click the edit icon for the new web server.
- In the Edit Server window, select Module Configuration.

- Select the Distributed option.
- Under the 'Java Servlets' field, add the following information, substituting
the correct values for your specific configuration:
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.
- Click the Update button.
- Return to the Edit Server window and choose the Path Mapping option.
- Under the Handler section, add the following information:
File extension: asp
Handler: /servlet/Dispatcher.DispatcherServlet
- Click the Add button.
- 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:
#! /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.
- Start Instant ASP server engine by executing the "start"
script:
% ./start iasptest
NOTE: Substitute the name you used
for your web server in step one for "iasptest."
- 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/
- Verify that Instant ASP is running correctly.
If you encounter any problems or errors, please contact support@halcyonsoft.com
|