9 - Optionally configuring the RPM Web Services runtime parameters
This section will guide you through the steps required to configure the
optional parameters used by the Rpm Web Services Api at runtime. At a
conceptual level, we are mapping a WS API class to a list of variables which
are used to control its behavior. All these parameters have default working
values. We will be changing webServicesUseSessionTimeout from its default value
of true to false , effectively turning off
the session timeout feature. To override any other variable, start with step 8.
Make sure that the JNDI name, variable name and its value are all coherent with
the list of runtime parameters.
For a list of all the runtime parameters available, as well as their default
values, please see this
list
- Under the Resources section on the left-hand side of the screen, choose Resource Envrionment Providers, then click on New
- For the Name field, input StringProvider, then click on Ok
- Click on the new Resource Environment provider we have just created : StringProvider.
- On the right-hand side of the screen, under the Additional Properties section, click on Referenceables
- Click on New through the following screen :
- Change the following required fields, then click on Ok :
- Factory class name : com.ibm.rpm.StringFactory
- Class name : java.lang.String
- Click on the blue link StringProvider, which will bring
you to the same screen as in step 4. Click on Resource env entries
on the right-hand side of the screen. You should see the following :
- Click on New through the first screen, update the following fields, then click on Ok :
- Name :webServicesUseSessionTimeout
- JNDI name :com/ibm/rpm/webServicesUseSessionTimeout
- You will see a confirmation screen, and the new variable we have just defined. Click on its name : webServicesUseSessionTimeout to go back to its properties page. This should bring you to the same screen as in the previous step.
- Notice that the Custom Properties link under the Additional Properties section on the right-hand portion of the screen , is now a link. Click on it, to display the following :
- Update the following fields, then click on Ok
- Name : webServicesUseSessionTimeout
- Value : false
- Click on Save to commit the changes we have just made, then click on the Save button on this page :
- Restart WebSphere, or if you prefer, only restart the Web Services Application, for the new variable to be taken into account.