Configuring Deployed Autonomy Portlets

This section describes how to configure the Autonomy Portlets that you deployed in the previous section. To do so, you need to update the portlets.cfg and web.xml files.


Updating the portlets.cfg file

In this step, update the portlets.cfg file with Autonomy server host and port values.

StepsUpdating portlets.cfg

  1. Navigate to the WEB_INF directory found in the expanded directory, for example, $BEA/.../Search/Portlets/AutonomyPortlets/WEB_INF.

  2. Open portlets.cfg in a text editor.

  3. Open <Autonomy_Install_Dir>/Ports.txt in a text editor. Ports.txt contains all the host and port parameter values used by Autonomy servers in “Installing Autonomy Servers”.

  4. In portlets.cfg, update these parameters to match the ACI port numbers in the Ports.txt file:

    UserHost hostname UserPort Nore ACI Port CategoryHost hostname CategoryPort Laune ACI Port QueryHost hostname QueryPort Suir (Engine) ACI Port

    NoteValues prefixed with “User” refer to the NORE partition, “Category” refers to the LAUNE partition, and “Query” refers to the SUIR partition. (The SUIR directory appears as the Engine directory when used in the Portal Studio). If you use all the Autonomy default ports, you may only need to change the host values to the Autonomy host machine name and the QueryPort to 8503.

  5. Save and close the portlets.cfg file, and close the Ports.txt file.


Updating the web.xml file

In this step, update properties of the deployed Autonomy portlets in the web.xml file.

StepsUpdating web.xml

  1. Navigate to the WEB_INF directory used to update the portlets.cfg file, for example: $BEA/.../Search/Portlets/AutonomyPortlets/WEB_INF/ portlets.cfg

  2. Open the web.xml file in a text editor.

  3. Search for the <context-param> section in the web.xml file:

  4. Update the <param-value> tag so that it contains the absolute location of the portlets.cfg file, for example:

      <context-param>
        <param-name>CfgFilePath</param-name>
        <param-value>C:\Program Files\Sybase\
          EAServer\Repository\WebApplication\
          AutonomyPortlets\WEB-INF\portlets.cfg
        </param-value>
      </context-param>
    

    You must alter the default parm-value of:

    C:\ProgramFiles\Sybase\EAServer\Repository\
    WebApplication\AutonomyPortlets\WEB-INF\
    portlets.cfg
    

    to the absolute path of portlets.cfg.

  5. Save and close the web.xml file.

  6. Using WebLogic Server procedures, enable the changes.