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

Before continuing, please make sure you have the following installed on your Windows NT 4.0 operating system:

  • IBM Developer Kit, Java™ Tech. Edition, 1.1.7
  • IBM HTTP Server 1.6.3.2, IBM DB2
  • WebSphere 3.0
  • NT's Service Pack 4

Creating a Web Application

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

  2. From the Start menu on the Windows taskbar, click Programs -> IBM WebSphere -> Application Server 3.0 -> Administrator's Console to open the WebSphere Advanced Administrative Console.
  3. Click the Tasks tab to display the Tasks tree.



  4. Under Configuration, Configure a Web application, select Add a JSP file or Web resource and click the green button above the panel to start the Task Wizard.
  5. In the right side of the console, select No and click the Next button as the following figure illustrates..



  6. In the Name field, type "/iasp" and click the Finished button. (Do not adjust the default entry for Virtual Host.)



  7. In the Tasks tree, under Configuration, select Configure a Web application and click the green button above the panel to start the Task Wizard.
  8. Type "iasp" in the Web Application Name field and click the Next button to continue. (Do not adjust other settings.)



  9. Expand the Nodes folder and its included items until you can select "servletEngine," and click the Next button to continue.
    Note: In the figure, "lanfang" is the instance of host name. Your host name should appear in the Nodes folder.



  10. Change the Web Application Web Path to "/iasp," type a description in the Description field if necessary, and click the Next button to continue. (Do not adjust the other default settings.)



  11. Specify your Document Root (we assume it is "d:\iasp"), add "d:\iasp\lib\iasplib.jar" to the Classpath, and click the Finished button.


Adding a Servlet

  1. In the Tasks tab, under Configuration--Configure a Web application, select Add a servlet item and click the green button above the panel to start the Task Wizard.
  2. Make sure that the Yes option is selected and click Next button to continue.



  3. Expand the WebSphere Administrative Domain console tree and its included items until you can select "iasp," and click the Next button to continue.
    Note: In the figure, "lanfang" is the instance of host name. Your host name should appear in the Nodes folder.



  4. Click the Browse button to open a dialog box and select the "iasplib.jar" file in your iASP installation directory

  5. Click the Next button to continue.

  6. Make sure that the Create User-Difined Servlet option is selected and click the Next Button to continue



  7. For Servlet Name, type "iASPservlet," for Servlet Class Name, type "Dispatcher.DispatcherServlet," and click the Add button. (Do not change the Web Application setting. If you want, you can type a description.)



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



    The ServletWeb Path List should now show an entry for "default_host/iasp/*.iasp."



  9. Click the Next button to continue.

  10. Keep the default settings and click the Finished button.

 

Modifying Your Websphere Configuration File

  1. In the admin.config file (under <WebSphere home directory>\bin\), append the following jar files to com.ibm.ejs.sm.adminserver.classpath:

    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


Restarting Your System

  1. Shutdown your WebSphere and reboot your computer.

  2. From the Start menu on the Windows taskbar, click Programs -> IBM WebSphere -> Application Server 3.0 -> Administrator's Console to open the WebSphere Advanced Administrative Console.

  3. Click the Topology tab to display the Topology tree.
  4. Expand the WebSphere Admininistrative Domain console tree to locate the Default Server.
    Note: In the figure, "lanfang" is the instance of host name. Your host name should appear in the Nodes folder.
  5. Right-click Default Server and select Start from the popup menu to start the Application Server.

     
  6. Verify that iASP is runnning correctly.

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

 


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