Sun Java System Portal Server 7.1 Configuration Guide

ProcedureTo Set Up Federated Search

  1. Set up sample federated databases:

    1. From a terminal window, log in to the host where search server is installed.

    2. Type the following:

      cd /opt/SUNWportal/sdk/search

    3. 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.

    4. 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.

  2. Add googleapi.jar and oracledriver.jar to the web container's class path:

    On the Application Server:

    cp google-api-install-directory/googleapi/googleapi.jar /var/opt/SUNWappserver/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

  3. Restart the web container.