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
- Open Services in the Windows Control Panel, and start the "IBM
WS AdminServer".
- 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.
- Click the Tasks tab to display the Tasks tree.

- 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.
- In the right side of the console, select No and click the Next button
as the following figure illustrates..

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

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

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

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

- 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
- 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.
- Make sure that the Yes option is selected and click Next button to
continue.

- 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.
- Click the Browse button to open a dialog box and select the "iasplib.jar"
file in your iASP installation directory

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

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

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

- Click the Next button to continue.
- Keep the default settings and click the Finished button.

Modifying Your Websphere Configuration File
- 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
- Shutdown your WebSphere and reboot your computer.
- 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.
- Click the Topology tab to display the Topology tree.
- 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.
- Right-click Default Server and select Start from the popup menu to
start the Application Server.

- Verify that iASP is runnning correctly.
If you encounter any problems or errors, please contact support@halcyonsoft.com
|