Set up sample federated databases:
From a terminal window, login to the host where search server is installed.
Type the following:
cd /opt/SUNWportal/sdk/search
Modify the sampledbs.soif file to change google clientKey value to be your downloaded license key, and modify databaseurl, providerurl, rdmserverurl, and other url values, accordingly.
Use the SOIF file syntax. The number in curly brackets ({ }) following the attribute is the number of characters you enter for that attribute's value.
Type the following:
cd /var/opt/SUNWportal/searchservers/search-server
./run-cs-cli rdmgr -y root /opt/SUNWportal/sdk/search/sampledbs.soif
./run-cs-cli rdmgr -y root -U to verify that the soif entries containing the configurations for sample federated databases in the sampledbs.soif are in the root db.
Add googleapi.jar and oracledriver.jar to the web container's class path:
On the Application Server 9.1:
cp google-api-install-directory/googleapi/googleapi.jar /opt/SUNWappserver/appserver/domains/domain1/applications/j2ee-modules/search-server-ID /WEB-INF/lib/googleapi.jar
On the Web Server:
cp /google-api-install-directory/googleapi/googleapi.jar /var/opt/SUNWwbsvr7/https-host.domain/webapp/host.domain/search-server-ID /WEB-INF/lib
Restart the web container.
You can also modify the database attributes using Portal Server console. To do this:
Login to Portal Server console.
Navigate to Search Servers page.
Click the Search Server tab to search for the database that you want to modify.
Go to Databases.
In the Manage Databases section, click a database name to modify the database attributes.
You can modify the Search Channel to add new federated database names. To do this:
Modify dbMenu.jsp to add federated database name to the database list.
Modify searchOnly.jsp to add view attributes to be displayed in the search results.
Modify result.jsp to properly format the search result page.
Add comments to each attribute entry in the sampledbs.soif.