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.
In this step, update the portlets.cfg file with Autonomy server host and port values.
Updating portlets.cfg
Navigate to the WEB_INF directory found in the expanded directory, for example, $BEA/.../Search/Portlets/AutonomyPortlets/WEB_INF.
Open portlets.cfg in a text editor.
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”.
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
Values 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.
Save and close the portlets.cfg file, and close the Ports.txt file.
In this step, update properties of the deployed Autonomy portlets in the web.xml file.
Updating web.xml
Navigate to the WEB_INF directory used to update the portlets.cfg file, for example: $BEA/.../Search/Portlets/AutonomyPortlets/WEB_INF/ portlets.cfg
Open the web.xml file in a text editor.
Search for the <context-param>
section
in the web.xml file:
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.
Save and close the web.xml file.
Using WebLogic Server procedures, enable the changes.