Instant ASP Logo


Configuring iASP on IBM WebSphere Application Server for AS/400

Before continuing, please make sure you have JDK 1.1.7 (If you don't have it, you can click here to get it.) and WebSphere 1.1 (If you don't have it, you can click here to get it.) installed on your AS/400 system.

  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. For this examples, assume you named the folder \iasp on the AS/400 system.

  2. Adding iASP to your WebSphere servlet configuration.

  1. Start the WebSphere manager applet (typically on http://<hostname>:9090/)
  1. 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 
  2. Add iASP servlet to servlet list: 
name = iasp, 
class name = Dispatcher.DispatcherServlet
  1. Add an alias for .ASP extension so that iASP servlet (iasp) will handle all requests for *.ASP files.
    *.asp iasp
  1. Configuring IBM HTTP Server for request routing: 
  1. Start the ADMIN server if not already started. The AS/400 command for this is: strtcpsvr server(*http) httpsvr(*admin)
  1. Go to the IBM HTTP Server Administration GUI. You can do this by typing: 

http://<....>:2001/ (the 2001 is the default)

  1. Click on Configuration
  1. Click on Request Routing
  1. Enable WebSphere support for ASP files (*.asp) by adding following line to the configuration file:
    Service /*.asp /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SVRPRM:AdapterService
    NOTE: Verify that the path to object QZHJSVLT.SVRPRM is correct 
  1. Add iasp folder to your Web accessable folder list as well in the HTTP Server Admin GUI.
  1. Completely shutdown ALL instances of your WebSphere and IBM HTTP server and restart.
  1. Go to http://<yourhost>/iasp URL. Select samples, go to general and run the HelloWorld sample. The first execution will be slow - after that the execution will be faster. Same is true for the JScript version of the samples.

 

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


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