To run the sample, you must install IBM® WebSphere® Application Server, Version
6.1. If you did not select this option during installation, you can install
this feature with the IBM Installation Manager.
After you import the Auction sample, you must configure the auction
deployment descriptor to point to the location of the Auction database using
these steps:
- Expand the AuctionV60EAR project and double-click
on Deployment Descriptor: AuctionV60EAR. The deployment
descriptor edit window opens.
- Select the Deployment tab at the bottom of the
edit window.
- Under JDBC provider list, select Derby
JDBC Provider.
- Under Resource properties, select databaseName and
click the Edit button.
- In the Value field, type the path to the Auction
database in the form Drive:Workspace-path /AuctionV60db/AUCTION70,
and click OK.
- Save your changes.
To run the Auction sample:
- Right-click on the AuctionV60Web project,
and choose Run As > Run on Server.
- If existing servers are available, select WebSphere
Application Server v6.1 and click Finish.
Otherwise, select Manually define a new server, choose WebSphere
Application Server v6.1 as the server type, and click Finish.
The Auction Web application opens as shown below:
