Deploying the monitor and control tool on Apache Tomcat

You to deploy the monitor and control servlet .war file on Apache server using the outlined steps.

Procedure

  1. Start the Apache Tomcat Manager. You can access it using http://hostname:port/manager/html. For example, http://localhost:8080/manager/html.
  2. Enter the administrator credentials that you defined during the Apache Tomcat installation procedure to authenticate the server.
  3. In the Deploy > WAR file to deploy section, click Browse.
  4. 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.
  5. Click Deploy.
  6. 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.
    1. Add "rpe_client" and "rpe_admin" roles as follows.
      • <role rolename="rpe_client"/>
      • <role rolename="rpe_admin"/>
    2. 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.
  7. 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.

  8. Restart Apache Tomcat.

What to do next

Specify the URL of the monitor and control servlet for a remote server from Setting preferences.

Feedback