1: Verifying administrator permissions for report scheduling
Procedure
Open the Apache Tomcat Manager
If you are running Apache Tomcat as a Windows service, open the Control Panel and,
in the Apache Tomcat row, click Admin. Then
click Manager App.
If you are not running Apache Tomcat as a Windows service, open the Apache Tomcat Manager
in a browser in the following format: http://server:port/manager/html
Example: http://localhost:8080/manager/html.
Open the tomcat-users.xml file, which
is located by default in $CATALINA_HOME\conf\tomcat-users.xml.
Verify that at least one administrator is assigned all
of the administrator roles for the services you are using. This
user is specified as the master administrator in the next part of
this task "2: Configuring the report scheduling flags". Example:
You can also assign other users the rpe_scheduler_user role.
2: Configuring the report scheduling flags
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 report scheduling user name and password flags with
their corresponding values. This user is the master administrator
you verified in the previous part of this task "1: Verifying administrator
permissions for report scheduling." Example:
Optional: In the Java options field, you can also choose to enforce
a report scheduling URL flag for all of the users in your organization. The URL that is entered in the user preferences is overridden
when this flag is used.
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 report scheduling flags and their corresponding
values. Example:
set JAVA_OPTS=%JAVA_OPTS% -Dcom.ibm.rational.rpe.rpews.scheduler.usr=user_name
set JAVA_OPTS=%JAVA_OPTS% -Dcom.ibm.rational.rpe.rpews.scheduler.pwd=password
Optional: You can also choose to enforce
a report scheduling URL flag for all of the users in your organization. The URL that is entered in the user preferences is overridden
when this flag is used.
Example:
set JAVA_OPTS=%JAVA_OPTS% -Dcom.ibm.rational.rpe.rpews.scheduler.url=http://server:port/rpews/
Save the changes.
Restart Apache Tomcat.
3: Testing the configuration
Procedure
In a browser, open the Remote services configuration page: http://server:port/rpews/
Click Report Scheduler Test URL.
Results
If the message The service is up and running
but direct requests to the root service are ignored. displays,
the report scheduling component is running successfully.