Auction Web application: Set up

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:
  1. Expand the AuctionV60EAR project and double-click on Deployment Descriptor: AuctionV60EAR. The deployment descriptor edit window opens.
  2. Select the Deployment tab at the bottom of the edit window.
  3. Under JDBC provider list, select Derby JDBC Provider.
  4. Under Resource properties, select databaseName and click the Edit button.
  5. In the Value field, type the path to the Auction database in the form Drive:Workspace-path /AuctionV60db/AUCTION70, and click OK.
  6. Save your changes.

To run the Auction sample:

  1. Right-click on the AuctionV60Web project, and choose Run As > Run on Server.
  2. 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:This diagram shows the Auction home page with a search field, categories menu, and two sales items.
Parent topic: Auction Web application

Feedback