2 - Deploy the RPM Web Services API .war file

Even though Oracle supports both .war and .ear files, we choose to deploy the .war file, and let the application server generate the rest of the required files to run the RPM Web Services application.

  1. Choose the home instance.

    Home instance
  2. Click on the Applications tab located in the upper portion of the screen.
  3. Click the Deploy button in the middle of the page. This will bring us to an informational screen. You may click on Next to continue.
    1. Choose Archive is present on local host. Upload the archive to the server where Application Server Control is running.
    2. Click on Browse and locate the rpm-web-services-x.x.x.x .war file, where x represents the version.

      Deploy step 1
    3. From the Deployment Plan section of the page, Select Automatically create a new deployment plan
  4. Set the primary Application Attributes.
    1. Fill in the following items :
      • You must fill in the Application Name field, which represents the application's name.
      • Parent Application should be set to default
      • Bind Web Module to Site should be default-web-site
      • The Context Root for rpm-web-services is the URL bound to the application. You may use rpmwsapi
    2. Click next

    Application Attributes
  5. Click on Deploy to complete this step

    Application deployment step 3
  6. The following status screen will be displayed.

    Deployment status
  7. You may click on Return to go back to the previous screen.