Auction Portal setup instructions

In addition to importing the sample application, by clicking on the Import the sample link, you must also import and configure a Cloudscape database to be able to run the sample in the WebSphere Portal v5.1 Test Environment.

Follow these steps to import and configure the database:

  1. Display the Servers view. It is located near the Properties and Quick Edit views.
  2. Select New > Server from the view's pop-up menu.
  3. Select WebSphere Portal v5.1 Test Environment from the server type list.
  4. Click Next two times. You will be in the Add and Remove Projects page.
  5. Add projects to configure them on the server that you are creating. Select the following projects, and click Add to move them into the Configured projects list:
    1. AuctionPortalEAR
    2. AuctionPortletEAR
    3. AuctionPortalPortletsEAR
  6. Click Finish.
  7. Double-click WebSphere Portal v5.1 Test Environment in the Servers view.
  8. Select the Data source tab in the server editor.
  9. In the Server Setting section, click Add to add a listing to the JDBC provider list.
  10. In the first page of the Create a JDBC Provider wizard, select Cloudscape as the Database type, and Cloudscape JDBC Provider as the JDBC provider type.
  11. Click Next.
  12. Type Cloudscape JDBC Provider in the Name field.
  13. Click Finish.
  14. Click the Add button next to the Data source defined in the JDBC provider selected above list.
  15. In the first page of the Create a Data Source wizard, select Cloudscape JDBC Provider, and click Next.
  16. Type Auction in the Name field.
  17. Type jdbc/auction in the JNDI name field.
  18. Click Next.
  19. Select databaseName from the Resource Properties list.
  20. Because different Rational products use different installation target locations, you must leave the product's user interface to locate the plug-in that contains the database content. Use a file search tool to locate the com.ibm.etools.auction.sampledb_6.0.0 plug-in folder under the product installation path in your local file system.
  21. Return to the Create a Data Source wizard, and type the following path in the Value field:
    x:\com.ibm.etools.auction.sampledb_6.0.0\db\AUCTION60
    where x: is the absolute path that contains the com.ibm.etools.auction.sampledb_6.0.0 plug-in on your computer.
  22. Click Finish.
  23. Save and close the server configuration file.

WS-I compliance warning messages:

WS-I compliance warning messages will be displayed in the Problems view for Click-to-Action-enabled portlets. You can ignore them in the Click-to-Action WSDL resources. Alternatively, to prevent these warning messages from being displayed, you can change the compliance level on the WS-I compliance preferences:

  1. Select Window > Preferences > Workbench > Capabilities.
  2. Expand Web Service Developer, and ensure that Web Services Development is selected.
  3. Click Apply and then OK.
  4. Select Window > Preferences > Web Services > WS-I Compliance.
  5. Set the compliance levels to Ignore compliance, and then click Apply and OK.
  6. To remove the compliance warnings from the Problems view, in the Project Explorer, open the project's pop-up menu select Run Validation.