26.4. Running the cooperative portlets

Before you run the scenario in the Portal test Environment, you will need to populate the database and create a data source required by the portlet application.

26.4.1. Populating the sample database

If the Cloudscape sample database has not been populated, run the batch file to populate the test database to be used in this scenario. For example:

1.
Create the c:\HRproject\database\ directory.
2.
From c:\Labfiles\JDBC168\ folder, copy the following files to this directory:
– CreateCloudTable.bat
– Tables.sql
3.
Edit the provided CreateCloudTable.bat file and make sure the paths for variables JAVA_HOME and DB2J_LIB point to the correct location. For example, in this sample scenario, these directories (java ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.