Instant ASP Logo


Configuring iASP for IBM WebSphere Application Server 3.0 on Windows NT 4.0

Before going through the next configuration steps, please make sure you have installed IBM Developer Kit, Java™ Tech. Edition, 1.1.7, IBM HTTP Server 1.6.3.2, IBM DB2 and WebSphere 3.0 in your Windows NT 4.0 operating system (recommend to install service pack 4) successfully.

  1. First you should install iASP on NT 4.0 system.

  2. Open Services in Windows Control Panel, and start the "IBM WS AdminServer".

  3. Click the Start menu from the Windows taskbar, click Programs -> IBM WebSphere -> Application Server 3.0 -> Administrator's Console to open the WebSphere Advanced Administrative Console, referring to the following instance:



  4. Click the Tasks tab to display the Tasks tree, select the Add a JSP file or Web resource item from Configuration Node and then click the green "Start Task" button above the panel, select option No and press the Next button to continue, referring to the following instance.



  5. In the right side of console, Type "/iasp" into the Resource Name input area, leave the Virtual Host's default_host selection, and then press Finished button, as the following instance.



  6. In the Tasks tab, select Configure a Web application item from the Configuration node and press the green "Start Task" button above the panel,  type "iasp" into Web Application Name input area and then press Next button to continue, referring to the following instance.



  7. In the right side of console, deploy the Nodes console tree, select "servletEngine" item and then press the Next button to continue, referring to the following instance.
    Note: "lanfang" in the figure is the instance of host name, your host name should be at the same place in your own console tree.



  8. In the right side of console, leave the Web Application Name and Virtual Host by default and type you description in Description area if necessary, and change the Web Application Web Path to "/iasp" and then press the Next button to continue, referring to the following instance.



  9. In the right side of console, specify your Document Root (in the following instance, we assume it as "d:\iasp"), enter "d:\iasp\lib\iasplib.jar" into the Classpath item, referring to the following instance.



    Press the Finished button, you'll see the following window, click on the OK button.



  10. In the Tasks tab, double-click the Add a servlet item of Configuration node or select it and press the green "Start Task" button above the panel. in the right side of console, keep the Yes option selected and press Next button to continue, referring to the following instance.



  11. In the right side of console, expand the WebSphere Administrative Domain console tree until you locate the servletEngine, select the iasp and then press Next button to continue, referring to the following instance:


    Note: "lanfang" in the figure is the instance of host name, your host name should be at the same place in your own console tree.
  12. In the right side of console, click on the Browse button to open the dialog box and select the "iasplib.jar" file in your iASP installed directory, then press the Next button to continue, referring to the following instance.



  13. In the right side of console, keep the Create User-Difined Servlet: option selected and press the Next Button to continue


  14. In the right side of console, enter the servlet name as for "iASPservlet" into the Servlet Name input area, keep the iasp selected in the Web Application dropdown menu and enter your description if necessary, type "Dispatcher.DispatcherServlet" into the Servlet Class Name input area, then press Add button.



    In the Add Web Path to Servlet dialog box, append "*.asp" to the Servlet Path and then press the OK button.



    Once "default_host/iasp/*.iasp" is added into the ServletWeb Path List, click the Next button to continue.


  15. In the right side of console, keep all settings by default and press the Finished button, referring to the following instance:



    Once the information dialog popup and declare "Servlets.create" completed successfully, click OK to finish, referring to the following instance:



  16. Now, open the file "admin.config" under your <WebSphere home directory>\bin\, and then find the "com.ibm.ejs.sm.adminserver.classpath" and append the following jar files in and save the file.

    d:\iasp\lib\activation.jar;d:\iasp\lib\jndi.jar;d:\iasp\lib\jsdk.jar;d:\iasp\lib\mail.jar;
    d:\iasp\lib\pop3.jar;d:\iasp\lib\rjax.jar;d:\iasp\lib\samples.jar;d:\iasp\lib\iasplib.jar

  17. Shutdown your WebSphere and reboot your computer.

  18. Once the system started up again, repeat the step 2 and 3 above at first.

  19. Click the Topology tab to display the Topology tree, expand the tree to locate the Default Server, right-click on this item to open the popup menu and select Start command to startup the Application Server, referring the following instance.
    Note: "lanfang" in the figure is the instance of host name, your host name should be at the same place in your own console tree.

     
  1. Open your IE or Netscape browser and point to http://<yourhost>/iasp/samples/default.html to run your ASP samples.

 

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


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