You to deploy the monitor and control servlet .war file
on Apache server using the outlined steps.
Procedure
- Start the Apache Tomcat Manager.
You can access it using http://hostname:port/manager/html.
For example, http://localhost:8080/manager/html.
- Enter the administrator credentials that
you defined during the Apache Tomcat installation procedure to authenticate
the server.
- In the section, click Browse.
- Select the web archive file rpemc.war,
where Rational® Publishing
Engine was installed. By default, the path is C:\Program
Files\IBM\Rational\Publishing Engine\1.1.2\web services\rpemc.
- Click Deploy.
- Create tomcat users and roles for the monitor and control
tool. This can be done by modifying the tomcat-users.xml file
in the $CATALINA_HOME/conf directory.
- Add "rpe_client" and "rpe_admin" roles as follows.
- <role rolename="rpe_client"/>
- <role rolename="rpe_admin"/>
- Add users rpe_admin and rpe_client. Assign both
roles to user rpe_admin and assign rpe_client role to
user rpe_client.
- <user username="rpe_admin" password="xyz" roles="rpe_admin,rpe_client"/>
- <user username="rpe_client" password="xyz" roles="rpe_client"/>
Note: - You can create as many users as required with either the rpe_client or rpe_admin roles.
A minimum of one admin and one client is recommended.
- You can have any user name, it need not be rpe_client and rpe_admin.
- Ensure the tomcat-users.xml is still a valid XML after
performing the changes.
- Set the following properties in Apache Tomcat (Java Options).
- Dcom.ibm.rational.rpe.mc.url=http://host:port/rpemc/service.
-
Dcom.ibm.rational.rpe.mc.user=rpe_client.
-
Dcom.ibm.rational.rpe.mc.password=pwd.
- Restart Apache Tomcat.
What to do next
Specify the URL of the monitor and control servlet for a
remote server from
Setting preferences.