You can set the following environment variables for the document
generation service application: com.ibm.rational.rpe.license.attempts.count and
com.ibm.rational.rpe.license.retry.timeout.
About this task
If you do not configure these values, the default value of 5 is used. The license checkout will
be attempted up to 5 times, at an interval of 5 seconds.
Table 1. Licensing flagsFlag |
Value |
Description |
-Dcom.ibm.rational.rpe.license.attempts.count |
A number Default value: 5
Example:
-Dcom.ibm.rational.rpe.license.attempts.count=7
|
The number of times to check for an available license. If the value entered is
less than 1, the value is ignored. |
-Dcom.ibm.rational.rpe.license.retry.timeout |
A number in seconds Default value: 5 seconds
Example:
-Dcom.ibm.rational.rpe.license.retry.timeout=6
|
The number of seconds to wait between attempts to check for an available
license. |
Procedure
- If you are running Apache Tomcat as a Windows service:
- In the Apache Tomcat application
files, right-click the startup file you use to start the server. Example: Tomcat<version>w.exe
- Click Open.
- Select the Java tab.
- In the Java™ options field, enter the flag you selected
and its corresponding value, and click OK. Example:
-Dcom.ibm.rational.rpe.flag=value
- Restart Apache Tomcat.
- If you are not running Apache Tomcat as
a Windows service:
- In the Apache Tomcat installation
files, open the catalina file for your operating
system:
: CATALINA_HOME/bin/catalina.bat
: CATALINA_HOME\bin\catalina.sh
- Enter the flag you selected and its corresponding value, and save. Example:
set JAVA_OPTS=%JAVA_OPTS% -Dcom.ibm.rational.rpe.flag=value
- Save the changes.
- Restart Apache Tomcat.