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.)
- 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
-
Start the WebSphere manager applet (typically on http://<hostname>:9090/).
-
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
-
Add the iASP servlet to the servlet list:
name = iasp,
class name = Dispatcher.DispatcherServlet
- 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
-
Start the ADMIN server if it is not already started. The AS/400 command
for this is: strtcpsvr server(*http) httpsvr(*admin)
-
Open the IBM HTTP Server Administration GUI. You can do this by typing:
http://<....>:2001/
The default port is 2001.
-
Click on Configuration.
-
Click on Request Routing.
-
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.
-
Add an iasp folder to your Web accessable folder list as well in
the HTTP Server Admin GUI.
-
Completely shutdown ALL instances of your WebSphere application server
and your IBM HTTP server and restart.
- Verify that iASP is running correctly.
If you encounter any problems or errors, please contact support@halcyonsoft.com
|