The Samples gallery offers a set of samples that show you how to perform
common Web application tasks, provide reusable components and demonstrate
handy techniques.
The gallery includes:
- The YourCo intranet Web site, which integrates many of the small samples
into one common application.
- The Java Pet Store Application, which demonstrates J2EE technology
via an online pet store.
- A Trade application, which demonstrates an online brokerage.
Once installed on your local machine, the Samples are located at
http://localhost/WSsamples/index.html
.
Open the above URL in your Web browser, follow the database configuration
instructions, and try the Samples.
On Windows 2000, it has been found that localhost is not always recognized. In
such a case, use the actual host name.
The above links will not work if:
- The Samples are not installed on the machine on which you are viewing
this documentation ("localhost").
- Your Web server is not running.
- You are viewing this documentation from the IBM Web site instead of
viewing locally installed documentation.
If you don't find the Samples on your localhost, confirm their installation.
The Samples are an option in the product installation. See the
installation documentation for a variety of case-specific installation
steps.
Note: When using Domino Web Server, further configuration is required to access /WSsamples :
If you attempt to access http://<host name>/WSsamples/index.html when
using a Domino Web Server, you receive the following error message:
Exception and or log files and location relevant to defect:
404 error in browser
To work around this problem, complete the following steps:
- Install Lotus Domino Administrator from Notes R5 client software.
- Open the server document for the server you plan to use as the Web server of WebSphere Application Server.
- Click Web > Create URL Mapping/Redirection.
- Navigate through the following options, entering appropriate information:
- Under Basic:
What do you want to set up: URL > Directory
- Under Site Information:
IP Address: the host name or IP address of your Web server
- Under Mapping:
Incoming URL string: /WSsamples
Target server directory: <install_root>/WSsamples
- Keep the default value for the other fields.
- Click Save and Close.
- Enter the following commands at the Domino Web Server console so that the settings take effect:
tell http restart or
tell http exit
load http
- You should now be able to successfully access
http://<hostname>/WSsamples .
See the Domino Help files for additional information about how to configure URL redirection.
|