Configuring iASP on IBM WebSphere Application Server for the AS/400

The following instructions show how to configure your WebSphere Application Server to run your ASP applications with iASP.

Before continuing, make sure you have the following installed on your AS/400 system:

  • JDK 1.1.7 (Click here to get it.)
  • WebSphere 1.1 (Click here to get it.)
  1. Install iASP on your Windows machine (from the iaspfcs.exe file). Once installed, copy the entire iASP folder over to your AS/400 machine.

    NOTE: We assume that you have named the Instant ASP folder \iasp on the AS/400 system. If you have installed it in a different directory, please be sure to make appropriate changes when you follow the steps below.

Adding iASP to Your WebSphere Servlet Configuration

  1. Start the WebSphere manager applet (typically on http://<hostname>:9090/).

  2. Click on setup and add the CLASSPATH for iASP to your configuration. This should include all the files you have under the \iasp\lib folder:

    /iasp/lib/iasplib.jar:/iasp/lib/iasp_chart.jar:/iasp/lib/iasp_image.jar: /iasp/lib/iasp_exec.jar:/iasp/lib/iasp_sock.jar:/iasp/lib/iasp_mail.jar: /iasp/lib/iasp_pop3.jar:/iasp/lib/rjax.jar:/iasp/lib/classes 

  3. Add the iASP servlet to the servlet list: 

    name = iasp,
    class name = Dispatcher.DispatcherServlet

  4. Add an alias that maps the .asp extension (*.asp) to the iASP servlet (iasp) so that the iASP servlet handles all requests for ASP files.

    *.asp iasp

Configuring IBM HTTP Server for Request Routing

  1. Start the ADMIN server if it is not already started. The AS/400 command for this is: strtcpsvr server(*http) httpsvr(*admin)

  2. Open the IBM HTTP Server Administration GUI. You can do this by typing: 

    http://<....>:2001/
    The default port is 2001.

  3. Click on Configuration.

  4. Click on Request Routing.

  5. Add the following line to the configuration file to enable WebSphere support for ASP files (*.asp):

    Service /*.asp /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SVRPRM:AdapterService

    NOTE: Verify that the path to object QZHJSVLT.SVRPRM is correct.

  6. Add an iasp folder to your Web accessable folder list as well in the HTTP Server Admin GUI.

  7. Completely shutdown ALL instances of your WebSphere application server and your IBM HTTP server and restart.

  8. 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.