WebSphere brand IBM WebSphere Premises Server, Version 6.1.x

Configuring the PortalControllerAgent to use flexible timer values

Use these instructions to make the timer values more flexible for the PortalControllerAgent.

The PortalControllerAgent can support two timer settings in the matrix.properties file. In releases prior to WebSphere® Premises Server 6.1 Fix Pack 1, each timer was associated with one timeout value. In Fix Pack 1, you can make a timeout value flexible, meaning you can apply one timer to different timeout values. In order to do this, the timer1.delay and timer2.delay properties have been replaced by one timer.delay property.

In a default installation of WebSphere Premises Server, the PortalControllerAgent is set to use the Basic Dock Door Receiving matrix file (BDDR.properties). This properties file needs to be modified in order to use the flexible timer setting.

Modifying the PortalControllerAgent using the WebSphere Premises Server Administrative Console

Procedure
  1. Follow the instructions in the Modifying agent properties for a PID section, choosing the PortalControllerAgent as the agent you modify.
  2. Add string integers to the Value setting for the timer.delay property.
  3. Save your configuration changes.
Example

This is a sample of the XML configuration of the PortalControllerAgent with multiple values set:

<configuration 
factoryPid="com.ibm.rfid.agent.portalcontroller.bundle.
PortalControllerAgentManagedServiceFactoryActivator" 
name="PortalControllerAgent" description="Portal Controller Agent">
 <property key="timer.delay" value="60000,20000,1000" type="String" cardinality="0" 
name="Timer Delay" description="timer delay" />

Modifying the properties file

Procedure
  1. Open the matrix properties file used by the PortalControllerAgent, such as BDDR.properties, in a text editor.
  2. Add an index statement to one of your timers in this format, where index_of_configuration_value is the number of values you have set for the PortalControllerAgent:
    state1.4.out.timer2=ON.index_of_configuration_value | OFF 

    The index_of_configuration_value starts at 0. If you do not set a value in the matrix properties file for the index_of_configuration_value, then it will be 0 by default.

  3. Save and close your matrix properties file.
Example

This is a sample of what the properties file would look like for a flexible timer value configuration. The index value is highlighted in bold type:

# state1.4:reader did not start in time
state1.4.in=OFF,DONT_CARE,DONT_CARE,DONT_CARE,DONT_CARE,OFF,NOT_EXPIRED,EXPIRED
state1.4.out.reader=OFF
state1.4.out.error=1
state1.4.out.timer2=ON.3 

Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2008. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.