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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.