Applying PMF fix packs

This topic is meant for upgrading an earlier Persistent Mobile Foundation 9.0.x release to the latest Persistent Mobile Foundation 9.0.x fix pack level.

Prerequisites

  • Stop the PMF server.
  • Take a back up of the existing pmf_install_dir/MobileFoundationServer (PMF installation directory).
  • Update PMF Server Administration Service, PMF Operations Console, and PMF runtime environment components by using Ant tasks.

Applying a fix pack

If you have installed PMF, by using the sample Ant files that are provided in the following directory, you can reuse a copy of this Ant file to apply a fix pack.

pmf_install_dir/MobileFoundationServer/configuration-samples

  1. Ensure that the value of the mfp.server.install.dir property in the Ant file points to the directory that contains the product with the fix pack applied. By default, the updated PMF WAR files take this value.
  2. Run the Ant file by using the following command.

    pmf_install_dir/tools/apache-ant-1.9.4/bin/ant -f {your_ant_file} databases

  3. Run the update by using the following command.

    pmf_install_dir/tools/apache-ant-1.9.4/bin/ant -f {your_ant_file} update

  4. To see interactive prompts, when you run the Ant file, enter 12 Asterisks (*) as the password.

If you have used your own Ant file, make sure that for each installation task, you have a corresponding update task in your Ant file with the same parameters.

Installation task Update task
installpmfadmin updatepmfadmin
installpmfruntime updatepmfruntime
installpmfpush updatepmfpush
  1. Ensure that the class path of the taskdef element for the mfp-ant-deployer.jar file points to the mfp-ant-deployer.jar file of an PMF installation with fix pack applied. By default, the updated PMF WAR files take this value.

  2. Run the following update tasks of your Ant file.

    • updatepmfadmin
    • updatepmfruntime
    • updatepmfpush

Rollback a fix pack

To roll back a fix pack for installation done through the sample Ant files or your our own Ant file,

  1. Manually replace the PMF related war files by copying them from the back up location of the pmf_install_dir/MobileFoundationServer (MF installation directory).
  2. Proceed with the steps listed above depending on the Ant file type.
Last modified on